]> git.donarmstrong.com Git - lilypond.git/blob - mi2mu/Makefile
2df411c6fa4a0e5c0dc115869107e8939ba71ff4
[lilypond.git] / mi2mu / Makefile
1 #
2 # project  LilyPond -- the musical typesetter
3 # title    makefile for mi2mu
4 # file     mi2mu/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 # generic variables:
17 #
18 include ./$(depth)/make/Variables.make
19 include ./$(depth)/make/Files.make 
20 #
21
22 # identify module:
23 #
24 NAME = mi2mu
25 MODULE_NAME = mi2mu
26 include $(mi2mu-dir)/VERSION
27 build = $(mi2mu-dir)/$(outdir)/.build
28 #
29
30 # descent order into subdirectories:
31 #
32 SUBDIRS = include
33 #
34
35 # to be remade each build:
36 #
37 VERSION_DEPENDENCY = $(mi2mu-version)
38 #
39
40
41 # list of distribution files:
42 #
43 EXTRA_DISTFILES = VERSION TODO
44 #
45
46 # list of custom libraries:
47 #
48 MODULE_LIBDEPS=check-flower-deps check-lily-deps
49 MODULE_LIBES=-llily -lflower
50 #
51
52
53 default: $(EXECUTABLE)
54
55 #
56
57 # generic targets and rules:
58 #
59 include ./$(depth)/make/Targets.make
60 include ./$(depth)/make/Rules.make
61 #
62
63 # explicit dependencies: (how to do auto?)
64 #
65 midi-lexer.l:   $(outdir)/midi-parser.hh
66
67 # list of depend files:
68 #
69 DEPFILES = $(wildcard $(depdir)/*.dep)
70 #
71
72 # auto dependencies:
73 #
74 -include /dev/null $(DEPFILES)
75 #
76 localclean:
77         rm -f $(outdir)/{midi-parser,midi-lexer}.*
78
79 localinstall: installexe
80
81 localuninstall: uninstallexe