]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/Rules.make
release: 0.1.57
[lilypond.git] / make / Rules.make
index c22e80abb82cae03d9e6112bc58d600cc7cc5b5e..f886422b03e72f8c5620b5013301898f75199893 100644 (file)
@@ -21,16 +21,16 @@ $(outdir)/%.o: %.cc
 $(outdir)/%.o: $(outdir)/%.cc
        $(DO_CXX_COMPILE)
 
-$(outdir)/%.cc: %.y
+$(outdir)/%.cc: %.yy
        $(BISON) $<
-       mv $(shell basename $@ .cc ).tab.c $@
+       mv $<.tab.c $@
 
-$(outdir)/%.hh: %.y
+$(outdir)/%.hh: %.yy
        $(BISON) -d $<
-       mv $(shell basename $@ .hh ).tab.h $@
-       mv $(shell basename $@ .hh ).tab.c $(outdir)/$(shell basename $@ .hh).cc
+       mv $<.tab.h $@
+       mv $<.tab.c $(outdir)/$(shell basename $@ .hh).cc
 
-$(outdir)/%.cc: %.l
+$(outdir)/%.cc: %.ll
        $(FLEX) -Cfe -p -p -t $< > $@
 # could be faster:
 #      $(FLEX) -8 -Cf -t $< > $@
@@ -45,12 +45,6 @@ $(outdir)/%: %.m4
        touch $@
 
 
-# build and config stuff: (could make this generic default rule...)
-#
-%/.build:
-       echo 0 > $@
-
-
 $(depth)/%.txt: check-doc-deps
        rm -f $@
        ln `find ${depth}/Documentation -name $@ -print|head -1 ` .