]> git.donarmstrong.com Git - lilypond.git/blob - lily/Makefile
1cee326a744dfadf6bea9f38f04b2b5e644c8e47
[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-lily-deps
41 MODULE_LIBES= -llily -lflower
42
43 #
44
45 # main target of this module:
46 #
47 default: $(EXECUTABLE)
48 #
49 include ./$(depth)/make/Files.make 
50
51 # generic targets and rules:
52 #
53 include ./$(depth)/make/Targets.make
54 include ./$(depth)/make/Rules.make
55 #
56
57 # force these: Make can't know these have to be generated in advance
58 my-lily-lexer.cc: $(outdir)/parser.hh
59 $(outdir)/lexer.cc: $(outdir)/parser.hh
60
61 #
62
63
64 localclean:
65         rm -f $(outdir)/parser.* $(outdir)/lexer.cc
66
67 #should merge with mi2mu rule
68 localinstall: installexe
69
70 localuninstall: uninstallexe
71
72 $(outdir)/lily-version.o: $(outdir)/version.hh