lilypond-0.0.62
[lilypond.git] / lily / Makefile
blob01503659df47cfc093f297becba8a76759df453d
1 # project LilyPond -- the musical typesetter
2 # title makefile for lilypond
3 # file lily/Makefile
5 # Copyright (c) 1997 by
6 # Jan Nieuwenhuizen <jan@digicash.com>
7 # Han-Wen Nienhuys <hanwen@stack.nl>
10 # subdir level:
12 depth = ..
15 # generic variables:
17 include Stable.make
18 include ./$(depth)/make/Variables.make
19 include ./$(depth)/make/Files.make
20 include .version
23 # identify module:
25 NAME = lilypond
29 # descent order into subdirectories:
31 SUBDIRS = include
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)
71 # auto dependencies:
73 -include /dev/null $(DEPFILES)
77 localclean:
78 rm -f $(outdir)/parser.* $(outdir)/lexer.cc