]> git.donarmstrong.com Git - lilypond.git/blob - lily/Makefile
release: 0.0.42.pre3
[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 ./$(depth)/make/Variables.make
18 include ./$(depth)/make/Files.make 
19 include .version
20
21 #
22
23 # identify module:
24 #
25 NAME = lilypond
26
27 #
28
29 # descent order into subdirectories:
30 #
31 SUBDIRS = include
32 #
33
34 # to be remade each build:
35 #
36 VERSION_DEPENDENCY = $(lily-version)
37 #
38
39
40 # list of distribution files:
41 #
42 DISTFILES = .version Makefile $(ALL_SOURCES)
43 #
44
45 # list of custom libraries:
46 #
47 # yes, i know about the -L and -l options,
48 # but these libraries get rebuilt when needed.
49 CUSTOMLIBES = $(LIBLILY) $(LIBFLOWER)
50
51 LOADLIBES +=
52 #
53
54 # main target of this module:
55 #
56 # MAINTARGET = $(EXECUTABLE)
57 # MAINTARGET = $(LIBRARY)
58 MAINTARGET = $(lily_bindir)/$(EXECUTABLE)# huh?
59 # MAINTARGET = $(libdir)/$(LIBRARY)# huh?
60
61 default: $(MAINTARGET)
62 #
63
64 # generic targets and rules:
65 #
66 include ./$(depth)/make/Targets.make
67 include ./$(depth)/make/Rules.make
68 #
69
70 # force these: Make can't know these have to be generated in advance
71 mylexer.cc: $(outdir)/parser.hh
72 lexer.l: $(outdir)/parser.hh
73
74 #
75
76 # list of depend files:
77 #
78 DEPFILES = $(wildcard $(depdir)/*.dep)
79 #
80
81 # auto dependencies:
82 #
83 -include /dev/null $(DEPFILES)
84 #
85