]> git.donarmstrong.com Git - lilypond.git/blob - mi2mu/Makefile
10a7f1ef53e10f82a1d5e1dcc1b9c6f3655ae9f5
[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 #
20
21 # identify module:
22 #
23 NAME = mi2mu
24 MODULE_NAME = mi2mu
25 include $(mi2mu-dir)/.version
26 build = $(mi2mu-dir)/$(outdir)/.build
27 #
28
29 # descent order into subdirectories:
30 #
31 SUBDIRS = include
32 #
33
34 # to be remade each build:
35 #
36 VERSION_DEPENDENCY = $(mi2mu-version)
37 #
38
39 # list of c++ header files:
40
41 HHFILES := $(wildcard *.hh )
42 #
43
44 # list of c++ source files:
45 #
46 CCFILES := $(wildcard *.cc )
47 #
48
49 # list of other source files:
50 #
51 EXTRA_SOURCE_FILES := $(wildcard *.y *.l )
52 #
53
54 # list of distribution files:
55 #
56 DISTFILES = Makefile .version $(HHFILES) $(CCFILES) $(EXTRA_SOURCE_FILES)
57 #
58
59 # list of custom libraries:
60 #
61 # yes, i know about the -L and -l options,
62 # but these libraries get rebuild when needed.
63 CUSTOMLIBES = $(LIBLILY) $(LIBFLOWER) 
64
65 LOADLIBES +=
66 #
67
68 # main target of this module:
69 #
70 # MAINTARGET = $(EXECUTABLE)
71 # MAINTARGET = $(LIBRARY)
72 MAINTARGET = $(lily_bindir)/$(EXECUTABLE)# huh?
73 # MAINTARGET = $(libdir)/$(LIBRARY)# huh?
74
75 default: $(MAINTARGET)
76 #
77
78 # generic targets and rules:
79 #
80 include ./$(depth)/make/Targets.make
81 include ./$(depth)/make/Rules.make
82 #
83
84 # explicit dependencies: (how to do auto?)
85 #
86 midi-lexer.l:   $(outdir)/midi-parser.hh
87
88 # list of depend files:
89 #
90 DEPFILES = $(shell ls $(depdir)/*.dep $(ERROR_LOG))
91 #
92
93 # auto dependencies:
94 #
95 -include /dev/null $(DEPFILES)
96 #
97