]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/GNUmakefile
release: 1.2.7
[lilypond.git] / lily / GNUmakefile
index 0fe59e0fe13af6cd6d9f35948ca8bb59c7589d1f..638a618ace06d76ded5c554a6304a0fe3bf1b7fa 100644 (file)
@@ -1,31 +1,26 @@
-# lilypond/GNUmakefile
-#
-# This file helps maintainers to keep their Makefile.am automatically
-# up to date using GNU make features.
-# If you don't have (or run) GNU make, Makefile.am will not be updated
-# automatically when source files are added/removed.
-
-# automake/wild-make should generate this file from Makefile.am.wild
-
-include Makefile
-
-# Makefile.am.wild: lilypond_SOURCES = $(wildcard *.cc)
-CURRENT_lilypond_SOURCES = $(wildcard *.cc)
-
-# ugh: there is a dummy file 'wild-check' to satisfy the wild-check target
-# for non-GNU makes in Makefile(.test)
-# but we'll ignore that
-# .PHONY: wild-check
-
-# ugh: stupid lexer.cc/parser.cc cluttering sourcedir!
-# but it works fine in other dirs (see ../mi2mu)
-# wild-check: check-lilypond-sources
-
-check-lilypond-sources:
-ifneq ($(lilypond_SOURCES),$(CURRENT_mi2mu_SOURCES))
-       @echo \"$(lilypond_SOURCES)\"
-       @echo \"$(CURRENT_lilypond_SOURCES)\"
-       @echo  lilypond_SOURCES changed: NOT yet rerunning make-wild.  Please type:
-       @echo "$(PERL) $(top_srcdir)/bin/wild-perl < Makefile.am.wild > Makefile.am"
-endif
+# title           makefile for lilypond
+# file    lily/Makefile 
+
+depth = ..
+
+NAME = lilypond
+SUBDIRS = include
+
+MODULE_LIBS=$(depth)/lib $(depth)/flower 
+MODULE_INCLUDES=$(depth)/lib/include $(depth)/flower/include 
+MODULE_CXXFLAGS=
+HELP2MAN_EXECS = lilypond
+
+STEPMAKE_TEMPLATES= c++ executable po help2man
+
+include $(depth)/make/stepmake.make 
+
+# force these: Make can't know these have to be generated in advance
+$(outdir)/my-lily-parser.o: $(outdir)/parser.hh
+$(outdir)/my-lily-lexer.o: $(outdir)/parser.hh
+$(outdir)/lexer.o: $(outdir)/parser.hh
+$(outdir)/lily-version.o: $(outdir)/version.hh
+$(outdir)/main.o: $(outdir)/BLURB.hh 
+
+