2 # project LilyPond -- the musical typesetter
3 # title makefile for mi2mu
6 # Copyright (c) 1997 by
7 # Jan Nieuwenhuizen <jan@digicash.com>
8 # Han-Wen Nienhuys <hanwen@stack.nl>
18 include ./$(depth)/make/Variables.make
19 include ./$(depth)/make/Files.make
26 include $(mi2mu-dir)/.version
27 build = $(mi2mu-dir)/$(outdir)/.build
30 # descent order into subdirectories:
35 # to be remade each build:
37 VERSION_DEPENDENCY = $(mi2mu-version)
41 # list of distribution files:
43 DISTFILES = Makefile .version $(ALL_SOURCES)
47 # list of custom libraries:
49 # yes, i know about the -L and -l options,
50 # but these libraries get rebuild when needed.
51 CUSTOMLIBES = $(LIBLILY) $(LIBFLOWER)
56 # main target of this module:
58 # MAINTARGET = $(EXECUTABLE)
59 # MAINTARGET = $(LIBRARY)
60 MAINTARGET = $(lily_bindir)/$(EXECUTABLE)# huh?
61 # MAINTARGET = $(libdir)/$(LIBRARY)# huh?
63 default: $(MAINTARGET)
66 # generic targets and rules:
68 include ./$(depth)/make/Targets.make
69 include ./$(depth)/make/Rules.make
72 # explicit dependencies: (how to do auto?)
74 midi-lexer.l: $(outdir)/midi-parser.hh
76 # list of depend files:
78 DEPFILES = $(wildcard $(depdir)/*.dep)
83 -include /dev/null $(DEPFILES)