]> git.donarmstrong.com Git - lilypond.git/blob - make/Template.make
release: 0.0.42.pre3
[lilypond.git] / make / Template.make
1 # THIS IS A TEMPLATE FOR SUB-PROJECT MAKEFILES
2 # should we make Include-dir and Stuff-dir templates too?
3 #
4 # project  LilyPond -- the musical typesetter
5 # title    makefile for ...
6 # file     ../Makefile 
7 #
8 # Copyright (c) 1997 by
9 #       Jan Nieuwenhuizen <jan@digicash.com>
10 #       Han-Wen Nienhuys <hanwen@stack.nl>
11 #
12
13 # subdir level:
14 #
15 depth = ..
16 #
17
18 # generic variables:
19 #
20 include ./$(depth)/make/Variables.make 
21 #
22
23 # identify module:
24 #
25 NAME = ...
26 MODULE_NAME = 
27 include ./$(depth)/$(NAME)/.version
28
29 build = $(outdir)/.build #????!
30 #
31
32 # descent order into subdirectories:
33 #
34 SUBDIRS =
35 #
36
37 # module compile settings: (not generally needed!)
38 #
39 EXTRA_CFLAGS =
40 EXTRA_CXXFLAGS =
41 EXTRA_LDFLAGS =
42 #
43 include ./$(depth)/make/Files.make
44
45 # list of extra distribution files:
46 # Makefile, C++ and pod are dist'ed automatically
47 EXTRA_DISTFILES = 
48
49 # list of custom libraries:
50 #
51 CUSTOMLIBES = \
52
53 LOADLIBES +=
54 #
55
56 # main target of this module:
57 #
58 MAINTARGET = $(EXECUTABLE)
59 # MAINTARGET = $(LIBRARY)
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 # auto dependencies:
71 #
72 -include $(DEPFILES)
73 #
74