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