From: fred Date: Wed, 27 Mar 2002 02:04:57 +0000 (+0000) Subject: lilypond-1.5.28 X-Git-Tag: release/1.5.59~362 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=73bc14bced573314065b1a4fe20cd42b7163571c;p=lilypond.git lilypond-1.5.28 --- diff --git a/stepmake/stepmake/c-rules.make b/stepmake/stepmake/c-rules.make index 690a8a8d04..fa16d4f6ee 100644 --- a/stepmake/stepmake/c-rules.make +++ b/stepmake/stepmake/c-rules.make @@ -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 $< > $@