]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/GNUmakefile
* VERSION (MY_PATCH_LEVEL): make 1.7.0
[lilypond.git] / lily / GNUmakefile
index 1de3dc99c25743fa46900e4ef99e91247945d908..79a516e0b247b2588e34ec22d15bfe05b5ba7daf 100644 (file)
@@ -1,27 +1,33 @@
-# 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=
+MODULE_LIBS=$(depth)/flower 
+MODULE_INCLUDES= $(depth)/flower/include
+MODULE_CXXFLAGS= 
 
 
-
-STEPMAKE_TEMPLATES= c++ executable po
+HELP2MAN_EXECS = lilypond
+STEPMAKE_TEMPLATES= c++ executable po help2man
 
 include $(depth)/make/stepmake.make 
 
+# for profiling, link guile statically:
+#
+# USER_LDFLAGS += -static -lltdl -ldl
+#
+
+ETAGS_FLAGS += -r '/^LY_DEFINE *(\([^,]+\),/\1/'  -r '/^LY_DEFINE *([^,]+, *"\([^"]+\)"/\1/' 
+
+default: 
+
 # 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 $(outdir)/COPERTINA.hh $(outdir)/FLAPTEKST.hh
-
-
+$(outdir)/lexer.o: $(outdir)/parser.hh $(outdir)/version.hh
 
+$(outdir)/kpath.o: $(outdir)/version.hh
+$(outdir)/lily-guile.o: $(outdir)/version.hh
+$(outdir)/lily-version.o: $(outdir)/version.hh