lilypond-0.1.15
[lilypond.git] / m2m / Makefile
blob789bf17a2e9686db2ebdc98af8d5f97848cea586
2 # project LilyPond -- the musical typesetter
3 # title makefile for m2m
4 # file m2m/Makefile
6 # Copyright (c) 1997 by
7 # Jan Nieuwenhuizen <jan@digicash.com>
8 # Han-Wen Nienhuys <hanwen@stack.nl>
11 # subdir level:
13 depth = ..
16 # identify module:
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
29 # generic variables:
31 include ./$(depth)/make/Variables.make
34 # descent order into subdirectories:
36 SUBDIRS = include
39 # to be remade each build:
41 VERSION_DEPENDENCY = $(lily-version)
44 # list of c++ header files:
46 HHFILES = # $(shell ls include/*.hh)
49 # list of c++ source files:
51 CCFILES = $(shell ls *.cc)
54 # list of other source files:
56 EXTRA_SOURCE_FILES = $(shell ls *.y *.l)
59 # list of distribution files:
61 DISTFILES = Makefile .version $(HHFILES) $(CCFILES) $(EXTRA_SOURCE_FILES)
64 # list of custom libraries:
66 # yes, i know about the -L and -l options,
67 # but these libraries get rebuild when needed.
68 CUSTOMLIBES = $(LIBLILY) $(LIBFLOWER)
70 LOADLIBES +=
73 # main target of this module:
75 # MAINTARGET = $(EXECUTABLE)
76 # MAINTARGET = $(LIBRARY)
77 MAINTARGET = $(bindir)/$(EXECUTABLE)# huh?
78 # MAINTARGET = $(libdir)/$(LIBRARY)# huh?
80 default: $(MAINTARGET)
83 # generic targets and rules:
85 include ./$(depth)/make/Targets.make
86 include ./$(depth)/make/Rules.make
89 # explicit dependencies: (how to do auto?)
91 midi-lexer.l: $(outdir)/midi-parser.hh
92 midi-main.cc: check-flower-version $(lily-version)
95 # auto dependencies:
97 -include ./$(outdir)/*.dep