]> git.donarmstrong.com Git - lilypond.git/blob - lily/Makefile
785fb9e0e411af4028e2e6f842ee660661b949af
[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 NAME = lilypond
16
17 # generic variables:
18 #
19 include Stable.make
20 include ./$(depth)/make/Variables.make
21 include VERSION
22 #
23
24 # identify module:
25 #
26
27 #
28
29 # descent order into subdirectories:
30 #
31 SUBDIRS = include
32 #
33
34
35 # list of distribution files:
36 #
37 EXTRA_DISTFILES = VERSION 
38 #
39
40 # list of custom libraries:
41 #
42 MODULE_LIBDEPS= check-flower-deps check-lily-deps
43 MODULE_LIBES= -llily -lflower
44
45 #
46
47 # main target of this module:
48 #
49 default: $(EXECUTABLE)
50 #
51 include ./$(depth)/make/Files.make 
52
53 # generic targets and rules:
54 #
55 include ./$(depth)/make/Targets.make
56 include ./$(depth)/make/Rules.make
57 #
58
59 # force these: Make can't know these have to be generated in advance
60 my-lily-lexer.cc: $(outdir)/parser.hh
61 $(outdir)/lexer.cc: $(outdir)/parser.hh
62
63 #
64
65
66 localclean:
67         rm -f $(outdir)/parser.* $(outdir)/lexer.cc
68
69 #should merge with mi2mu rule
70 localinstall: installexe
71
72 localuninstall: uninstallexe
73
74 $(outdir)/lily-version.o: $(outdir)/version.hh