From: fred Date: Sat, 25 Jul 1998 12:13:31 +0000 (+0000) Subject: lilypond-1.0.4 X-Git-Tag: release/1.5.59~5882 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=10a0185265a3ca3074f0e56ab6d629fedf1e940c;p=lilypond.git lilypond-1.0.4 --- diff --git a/stepmake/stepmake/c-rules.make b/stepmake/stepmake/c-rules.make new file mode 100644 index 0000000000..a2bf496187 --- /dev/null +++ b/stepmake/stepmake/c-rules.make @@ -0,0 +1,26 @@ +# stepmake/C_rules.make + +.SUFFIXES: .c .o .h .y .l .dep + +$(outdir)/%.o: %.c + $(DO_C_COMPILE) + +$(outdir)/%.o: $(outdir)/%.c + $(DO_C_COMPILE) + +$(outdir)/%.c: %.y + $(BISON) $< +# mv $<.tab.c $@ + mv parser.tab.c $@ + +$(outdir)/%.h: %.y + $(BISON) -d $< +# mv $<.tab.h $@ + mv parser.tab.h $@ + mv parser.tab.c $(basename $@).c + +$(outdir)/%.c: %.l + $(FLEX) -Cfe -p -p -t $< > $@ +# could be faster: +# $(FLEX) -8 -Cf -t $< > $@ +