]> git.donarmstrong.com Git - lilypond.git/blob - lily/Makefile
release: 0.0.63
[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 # generic variables:
16 #
17 include Stable.make
18 include ./$(depth)/make/Variables.make
19 include ./$(depth)/make/Files.make 
20 include .version
21 #
22
23 # identify module:
24 #
25 NAME = lilypond
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 MAINTARGET = $(lily_bindir)/$(EXECUTABLE)# huh?
50
51 default: $(MAINTARGET)
52 #
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 # list of depend files:
67 #
68 DEPFILES = $(wildcard $(depdir)/*.dep)
69 #
70
71 # auto dependencies:
72 #
73 -include /dev/null $(DEPFILES)
74 #
75
76
77 localclean:
78         rm -f $(outdir)/parser.* $(outdir)/lexer.cc