]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.1.44
authorfred <fred>
Sun, 24 Mar 2002 20:05:25 +0000 (20:05 +0000)
committerfred <fred>
Sun, 24 Mar 2002 20:05:25 +0000 (20:05 +0000)
make/Rules.make
mutopia/J.S.Bach/Makefile

index bf8ac3e004ae988c5a4e7e2f611e81760e238af2..a5ea5760d527ad5fe08cb230a03587c6b4062662 100644 (file)
@@ -37,6 +37,9 @@ $(outdir)/%.cc: %.l
 # could be faster:
 #      $(FLEX) -8 -Cf -t $< > $@
 
+$(outdir)/%: %.m4
+       $(M4) $< > $@
+
 # outdirs:
 #
 # ?$(outdir)/%.dep:
index a96c8f6bb232a40a0a57c04efee860c4a1f288a6..5de850e7e8b331bceb71fbc4cedc1025314c9836 100644 (file)
@@ -1,13 +1,15 @@
-# mutopia/j.s.bach/Makefile
+# mutopia/J.S.Bach/Makefile
 
-
-# descent order into subdirectories:
-#
-SUBDIRS = 
 # subdir level:
 #
 depth = ../..
 #
+
+# descent order into subdirectories:
+#
+SUBDIRS = 
+# 
+
 # generic stuff/Makefile
 #
 include ./$(depth)/make/Include.make
@@ -18,6 +20,10 @@ include ./$(depth)/make/Include.make
 # 
 LYFILES = $(wildcard *.ly)
 TEXFILES = $(wildcard *.tex)
-DISTFILES = Makefile $(LYFILES) $(TEXFILES) $(wildcard *.m4)
+M4FILES = $(wildcard *.m4)
+DISTFILES = Makefile $(LYFILES) $(TEXFILES) $(M4FILES)
 #
 
+OUTFILES = $(addprefix $(outdir)/,$(M4FILES:%.m4=%))
+
+all: $(OUTFILES)