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>
24 include ./$(depth)/make/Variables.make
25 include ./$(depth)/make/Files.make
30 include $(mi2mu-dir)/VERSION
31 build = $(mi2mu-dir)/$(outdir)/.build
34 # descent order into subdirectories:
39 # to be remade each build:
41 VERSION_DEPENDENCY = $(mi2mu-version)
45 # list of distribution files:
47 EXTRA_DISTFILES = VERSION TODO
50 # list of custom libraries:
52 MODULE_LIBDEPS=check-flower-deps check-lily-deps
53 MODULE_LIBES=-llily -lflower
57 default: $(EXECUTABLE)
61 # generic targets and rules:
63 include ./$(depth)/make/Targets.make
64 include ./$(depth)/make/Rules.make
67 # explicit dependencies: (how to do auto?)
69 midi-lexer.l: $(outdir)/midi-parser.hh
71 # list of depend files:
73 DEPFILES = $(wildcard $(depdir)/*.dep)
78 -include /dev/null $(DEPFILES)
81 rm -f $(outdir)/{midi-parser,midi-lexer}.*
83 localinstall: installexe
85 localuninstall: uninstallexe
88 $(outdir)/mi2mu-version.o: $(outdir)/version.hh