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>
20 include ./$(depth)/make/Variables.make
27 # include ./$(depth)/$(NAME)/.version
31 # use to send patches, always empty for released version:
32 MY_PATCH_LEVEL = # include separator: "-1" or ".a"
33 build = $(lily-dir)/.build
36 # descent order into subdirectories:
41 # to be remade each build:
43 VERSION_DEPENDENCY = $(lily-version)
46 # module compile settings: (not generally needed!
53 # list of c++ header files:
55 HHFILES = $(shell ls *.hh $(ERROR_LOG))
58 # list of c++ source files:
60 CCFILES = $(shell ls *.cc $(ERROR_LOG))
63 # list of other source files:
65 EXTRA_SOURCE_FILES = $(shell ls *.y *.l $(ERROR_LOG))
68 # list of distribution files:
70 DISTFILES = Makefile $(HHFILES) $(CCFILES) $(EXTRA_SOURCE_FILES)
73 # list of custom libraries:
80 # main target of this module:
82 MAINTARGET = $(EXECUTABLE)
83 # MAINTARGET = $(LIBRARY)
85 default: $(MAINTARGET)
88 # generic targets and rules:
90 include ./$(depth)/make/Targets.make
91 include ./$(depth)/make/Rules.make
94 # list of depend files:
96 DEPFILES = $(shell ls $(depdir)/*.dep $(ERROR_LOG))