]> git.donarmstrong.com Git - lilypond.git/blob - mi2mu/Makefile
release: 0.0.63
[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 DISTFILES = Makefile .version $(ALL_SOURCES)
44
45 #
46
47 # list of custom libraries:
48 #
49 MODULE_LIBDEPS=check-flower-deps check-lily-deps
50 MODULE_LIBES=-llily -lflower
51 #
52
53 # main target of this module:
54 #
55 # MAINTARGET = $(EXECUTABLE)
56 # MAINTARGET = $(LIBRARY)
57 MAINTARGET = $(lily_bindir)/$(EXECUTABLE)# huh?
58 # MAINTARGET = $(libdir)/$(LIBRARY)# huh?
59
60 default: $(MAINTARGET)
61 #
62
63 # generic targets and rules:
64 #
65 include ./$(depth)/make/Targets.make
66 include ./$(depth)/make/Rules.make
67 #
68
69 # explicit dependencies: (how to do auto?)
70 #
71 midi-lexer.l:   $(outdir)/midi-parser.hh
72
73 # list of depend files:
74 #
75 DEPFILES = $(wildcard $(depdir)/*.dep)
76 #
77
78 # auto dependencies:
79 #
80 -include /dev/null $(DEPFILES)
81 #
82 localclean:
83         rm -f $(outdir)/{midi-parser,midi-lexer}.*
84