lilypond-0.1.33
[lilypond.git] / lily / Makefile
blob16f59f5d5c660768787c8965626f5875ecefe313
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 # identify module:
17 NAME = lilypond
20 # generic variables:
22 include Stable.make
23 include ./$(depth)/make/Variables.make
24 include VERSION
27 # descent order into subdirectories:
29 SUBDIRS = include
33 # list of distribution files:
35 EXTRA_DISTFILES = VERSION
38 # list of custom libraries:
40 MODULE_LIBDEPS= check-flower-deps check-lib-deps
41 MODULE_LIBES= -llily -lflower
45 # main target of this module:
47 default: $(EXECUTABLE)
49 include ./$(depth)/make/Files.make
51 # generic targets and rules:
53 include ./$(depth)/make/Targets.make
54 include ./$(depth)/make/Rules.make
57 # force these: Make can't know these have to be generated in advance
58 my-lily-lexer.cc: $(outdir)/parser.hh
59 $(outdir)/lexer.cc: $(outdir)/parser.hh
64 localclean:
65 rm -f $(outdir)/parser.* $(outdir)/lexer.cc
67 #should merge with mi2mu rule
68 localinstall: installexe
70 localuninstall: uninstallexe
72 $(outdir)/lily-version.o: $(outdir)/version.hh
74 # make config.hh. Ugh
75 $(outdir)/main.o: $(libout)/config.hh
77 $(libout)/config.hh: check-lib-deps