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>
17 include ./$(depth)/make/Variables.make
18 include ./$(depth)/make/Files.make
29 # descent order into subdirectories:
34 # to be remade each build:
36 VERSION_DEPENDENCY = $(lily-version)
40 # list of distribution files:
42 DISTFILES = .version Makefile $(ALL_SOURCES)
45 # list of custom libraries:
47 # yes, i know about the -L and -l options,
48 # but these libraries get rebuilt when needed.
49 CUSTOMLIBES = $(LIBLILY) $(LIBFLOWER)
54 # main target of this module:
56 # MAINTARGET = $(EXECUTABLE)
57 # MAINTARGET = $(LIBRARY)
58 MAINTARGET = $(lily_bindir)/$(EXECUTABLE)# huh?
59 # MAINTARGET = $(libdir)/$(LIBRARY)# huh?
61 default: $(MAINTARGET)
64 # generic targets and rules:
66 include ./$(depth)/make/Targets.make
67 include ./$(depth)/make/Rules.make
70 # force these: Make can't know these have to be generated in advance
71 my-lily-lexer.cc: $(outdir)/parser.hh
72 $(outdir)/lexer.cc: $(outdir)/parser.hh
76 # list of depend files:
78 DEPFILES = $(wildcard $(depdir)/*.dep)
83 -include /dev/null $(DEPFILES)