]> git.donarmstrong.com Git - lilypond.git/blob - lily/Makefile
release: 0.1.48
[lilypond.git] / lily / Makefile
1 # project  LilyPond -- the musical typesetter
2 # title    makefile for lilypond
3 # file     lily/Makefile 
4 #
5 # Copyright (c) 1997 by
6 #       Jan Nieuwenhuizen <jan@digicash.com>
7 #       Han-Wen Nienhuys <hanwen@stack.nl>
8 #
9
10 # subdir level:
11 #
12 depth = ..
13 #
14
15 # identify module:
16 #
17 NAME = lilypond
18 #
19
20 # generic variables:
21 #
22 include Stable.make
23 include ./$(depth)/make/Variables.make
24 include VERSION
25 #
26
27 # descent order into subdirectories:
28 #
29 SUBDIRS = include
30 #
31
32
33 # list of distribution files:
34 #
35 EXTRA_DISTFILES = VERSION 
36 #
37
38 # list of custom libraries:
39 #
40 MODULE_LIBDEPS= check-flower-deps check-lib-deps 
41 MODULE_LIBES= -llily -lflower
42
43 #
44
45 # main target of this module:
46 #
47
48 default: $(EXECUTABLE)
49
50 out/engraver.o: include/engraver.hh
51 #
52 include ./$(depth)/make/Files.make 
53
54 # generic targets and rules:
55 #
56 include ./$(depth)/make/Targets.make
57 include ./$(depth)/make/Rules.make
58 #
59
60 # force these: Make can't know these have to be generated in advance
61 my-lily-lexer.cc: $(outdir)/parser.hh
62 $(outdir)/lexer.cc: $(outdir)/parser.hh
63
64 #
65
66
67 localclean:
68         rm -f $(outdir)/parser.* $(outdir)/lexer.cc
69
70 #should merge with mi2mu rule
71 localinstall: installexe
72
73 localuninstall: uninstallexe
74
75 $(outdir)/lily-version.o: $(outdir)/version.hh
76
77 # make config.hh. Ugh
78 $(outdir)/main.o: $(libout)/config.hh
79
80 $(libout)/config.hh: check-lib-deps