lilypond-0.1.17
[lilypond.git] / make / Template.make
blob4c8a67f14f57dc7b8af296feb2c642aa6952cb27
1 # THIS IS A TEMPLATE FOR SUB-PROJECT MAKEFILES
2 # should we make Include-dir and Stuff-dir templates too?
4 # project LilyPond -- the musical typesetter
5 # title makefile for ...
6 # file ../Makefile
8 # Copyright (c) 1997 by
9 # Jan Nieuwenhuizen <jan@digicash.com>
10 # Han-Wen Nienhuys <hanwen@stack.nl>
13 # subdir level:
15 depth = ..
18 # generic variables:
20 include ./$(depth)/make/Variables.make
23 # identify module:
25 NAME = ...
26 MODULE_NAME =
27 include ./$(depth)/$(NAME)/VERSION
29 build = $(outdir)/.build #????!
32 # descent order into subdirectories:
34 SUBDIRS =
37 # module compile settings: (not generally needed!)
39 EXTRA_CFLAGS =
40 EXTRA_CXXFLAGS =
41 EXTRA_LDFLAGS =
43 include ./$(depth)/make/Files.make
45 # list of extra distribution files:
46 # Makefile, C++ and pod are dist'ed automatically
47 EXTRA_DISTFILES =
49 # list of custom libraries:
51 CUSTOMLIBES = \
53 LOADLIBES +=
56 # main target of this module:
58 # MAINTARGET = $(EXECUTABLE)
59 # MAINTARGET = $(LIBRARY)
60 MAINTARGET =
62 default: $(MAINTARGET)
65 # generic targets and rules:
67 include ./$(depth)/make/Targets.make
68 include ./$(depth)/make/Rules.make
71 # auto dependencies:
73 -include $(DEPFILES)