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>
21 include ./$(depth)/make/Variables.make
22 include ./$(depth)/make/Files.make
27 include $(mi2mu-dir)/VERSION
28 build = $(mi2mu-dir)/$(outdir)/.build
31 # descent order into subdirectories:
36 # to be remade each build:
38 VERSION_DEPENDENCY = $(mi2mu-version)
42 # list of distribution files:
44 EXTRA_DISTFILES = VERSION TODO
47 # list of custom libraries:
49 MODULE_LIBDEPS=check-flower-deps check-lib-deps
50 MODULE_LIBES=-llily -lflower
54 default: $(EXECUTABLE)
58 # generic targets and rules:
60 include ./$(depth)/make/Targets.make
61 include ./$(depth)/make/Rules.make
64 # explicit dependencies: (how to do auto?)
66 midi-lexer.l: $(outdir)/midi-parser.hh
68 # list of depend files:
70 DEPFILES = $(wildcard $(depdir)/*.dep)
75 -include /dev/null $(DEPFILES)
78 rm -f $(outdir)/{midi-parser,midi-lexer}.*
80 localinstall: installexe
82 localuninstall: uninstallexe
85 $(outdir)/mi2mu-version.o: $(outdir)/version.hh