]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.5.28
authorfred <fred>
Wed, 27 Mar 2002 02:04:57 +0000 (02:04 +0000)
committerfred <fred>
Wed, 27 Mar 2002 02:04:57 +0000 (02:04 +0000)
stepmake/stepmake/c-rules.make

index 690a8a8d04de2aa4df944acbbba3a614fd80d724..fa16d4f6ee2f67c504b6968dff3df7fe1b156ff0 100644 (file)
@@ -14,12 +14,12 @@ $(outdir)/%.lo: %.c
 
 $(outdir)/%.c: %.y
        $(BISON) $<
-       mv parser.tab.c $@
+       mv $(*F).tab.c $@
 
 $(outdir)/%.h: %.y
        $(BISON) -d $<
-       mv parser.tab.h $@
-       mv parser.tab.c $(basename $@).c
+       mv $(*F).tab.h $@
+       rm -f $(*F).tab.c # if this happens in the wrong order it triggers recompile of the .cc file 
 
 $(outdir)/%.c: %.l
        $(FLEX) -Cfe -p -p -t $< > $@