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 ...
8 # Copyright (c) 1997 by
9 # Jan Nieuwenhuizen <jan@digicash.com>
10 # Han-Wen Nienhuys <hanwen@stack.nl>
21 # include ./$(depth)/$(NAME)/.version
25 # use to send patches, always empty for released version:
26 MY_PATCH_LEVEL = # include separator: "-1" or ".a"
27 build = ./$(depth)/lily/.build
32 include ./$(depth)/make/Variables.make
35 # descent order into subdirectories:
40 # to be remade each build:
42 VERSION_DEPENDENCY = $(lily-version)
45 # module compile settings: (not generally needed!
52 # list of c++ header files:
54 HHFILES = $(shell ls *.hh)
57 # list of c++ source files:
59 CCFILES = $(shell ls *.cc)
62 # list of other source files:
64 EXTRA_SOURCE_FILES = $(shell ls *.y *.l)
67 # list of distribution files:
69 DISTFILES = $(HHFILES) $(CCFILES) $(EXTRA_SOURCE_FILES)
72 # list of custom libraries:
79 # main target of this module:
81 MAINTARGET = $(EXECUTABLE)
82 # MAINTARGET = $(LIBRARY)
84 default: $(MAINTARGET)
87 # generic targets and rules:
89 include ./$(depth)/make/Targets.make
90 include ./$(depth)/make/Rules.make
95 include ./$(outdir)/*.dep