]> git.donarmstrong.com Git - lilypond.git/blob - mi2mu/Makefile
release: 0.0.42.pre3
[lilypond.git] / mi2mu / Makefile
1 #
2 # project  LilyPond -- the musical typesetter
3 # title    makefile for mi2mu
4 # file     mi2mu/Makefile 
5 #
6 # Copyright (c) 1997 by
7 #       Jan Nieuwenhuizen <jan@digicash.com>
8 #       Han-Wen Nienhuys <hanwen@stack.nl>
9 #
10
11 # subdir level:
12 #
13 depth = ..
14 #
15
16 # generic variables:
17 #
18 include ./$(depth)/make/Variables.make
19 include ./$(depth)/make/Files.make 
20 #
21
22 # identify module:
23 #
24 NAME = mi2mu
25 MODULE_NAME = mi2mu
26 include $(mi2mu-dir)/.version
27 build = $(mi2mu-dir)/$(outdir)/.build
28 #
29
30 # descent order into subdirectories:
31 #
32 SUBDIRS = include
33 #
34
35 # to be remade each build:
36 #
37 VERSION_DEPENDENCY = $(mi2mu-version)
38 #
39
40
41 # list of distribution files:
42 #
43 DISTFILES = Makefile .version $(ALL_SOURCES)
44
45 #
46
47 # list of custom libraries:
48 #
49 # yes, i know about the -L and -l options,
50 # but these libraries get rebuild when needed.
51 CUSTOMLIBES = $(LIBLILY) $(LIBFLOWER) 
52
53 LOADLIBES +=
54 #
55
56 # main target of this module:
57 #
58 # MAINTARGET = $(EXECUTABLE)
59 # MAINTARGET = $(LIBRARY)
60 MAINTARGET = $(lily_bindir)/$(EXECUTABLE)# huh?
61 # MAINTARGET = $(libdir)/$(LIBRARY)# huh?
62
63 default: $(MAINTARGET)
64 #
65
66 # generic targets and rules:
67 #
68 include ./$(depth)/make/Targets.make
69 include ./$(depth)/make/Rules.make
70 #
71
72 # explicit dependencies: (how to do auto?)
73 #
74 midi-lexer.l:   $(outdir)/midi-parser.hh
75
76 # list of depend files:
77 #
78 DEPFILES = $(wildcard $(depdir)/*.dep)
79 #
80
81 # auto dependencies:
82 #
83 -include /dev/null $(DEPFILES)
84 #
85