1 # project LilyPond -- the musical typesetter
2 # title makefile for lilypond
5 # Copyright (c) 1997 by
6 # Jan Nieuwenhuizen <jan@digicash.com>
7 # Han-Wen Nienhuys <hanwen@stack.nl>
18 include ./$(depth)/make/Variables.make
19 include ./$(depth)/make/Files.make
29 # descent order into subdirectories:
35 # list of distribution files:
37 EXTRA_DISTFILES = .version
40 # list of custom libraries:
42 MODULE_LIBDEPS= check-flower-deps check-lily-deps
43 MODULE_LIBES= -llily -lflower
47 # main target of this module:
49 MAINTARGET = $(lily_bindir)/$(EXECUTABLE)# huh?
51 default: $(MAINTARGET)
54 # generic targets and rules:
56 include ./$(depth)/make/Targets.make
57 include ./$(depth)/make/Rules.make
60 # force these: Make can't know these have to be generated in advance
61 my-lily-lexer.cc: $(outdir)/parser.hh
62 $(outdir)/lexer.cc: $(outdir)/parser.hh
66 # list of depend files:
68 DEPFILES = $(wildcard $(depdir)/*.dep)
73 -include /dev/null $(DEPFILES)
78 rm -f $(outdir)/parser.* $(outdir)/lexer.cc