]> git.donarmstrong.com Git - lilypond.git/blob - m2m/Makefile
789bf17a2e9686db2ebdc98af8d5f97848cea586
[lilypond.git] / m2m / Makefile
1 #
2 # project  LilyPond -- the musical typesetter
3 # title    makefile for m2m
4 # file     m2m/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 # identify module:
17 #
18 NAME = m2m
19 MODULE_NAME = m2m
20 MAJOR_VERSION = $(TOPLEVEL_MAJOR_VERSION)
21 MINOR_VERSION = $(TOPLEVEL_MINOR_VERSION)
22 PATCH_LEVEL = $(TOPLEVEL_PATCH_LEVEL)
23 # use to send patches, always empty for released version:
24 MY_PATCH_LEVEL = $(TOPLEVEL_MY_PATCH_LEVEL)
25 # include ./$(depth)/m2m/.version
26 build = ./$(depth)/lily/.build
27 #
28
29 # generic variables:
30 #
31 include ./$(depth)/make/Variables.make 
32 #
33
34 # descent order into subdirectories:
35 #
36 SUBDIRS = include
37 #
38
39 # to be remade each build:
40 #
41 VERSION_DEPENDENCY = $(lily-version)
42 #
43
44 # list of c++ header files:
45
46 HHFILES = # $(shell ls include/*.hh)
47 #
48
49 # list of c++ source files:
50 #
51 CCFILES = $(shell ls *.cc)
52 #
53
54 # list of other source files:
55 #
56 EXTRA_SOURCE_FILES = $(shell ls *.y *.l)
57 #
58
59 # list of distribution files:
60 #
61 DISTFILES = Makefile .version $(HHFILES) $(CCFILES) $(EXTRA_SOURCE_FILES)
62 #
63
64 # list of custom libraries:
65 #
66 # yes, i know about the -L and -l options,
67 # but these libraries get rebuild when needed.
68 CUSTOMLIBES = $(LIBLILY) $(LIBFLOWER) 
69
70 LOADLIBES +=
71 #
72
73 # main target of this module:
74 #
75 # MAINTARGET = $(EXECUTABLE)
76 # MAINTARGET = $(LIBRARY)
77 MAINTARGET = $(bindir)/$(EXECUTABLE)# huh?
78 # MAINTARGET = $(libdir)/$(LIBRARY)# huh?
79
80 default: $(MAINTARGET)
81 #
82
83 # generic targets and rules:
84 #
85 include ./$(depth)/make/Targets.make
86 include ./$(depth)/make/Rules.make
87 #
88
89 # explicit dependencies: (how to do auto?)
90 #
91 midi-lexer.l:   $(outdir)/midi-parser.hh
92 midi-main.cc:   check-flower-version $(lily-version)
93 #
94
95 # auto dependencies:
96 #
97 -include ./$(outdir)/*.dep
98 #
99