From 10a0185265a3ca3074f0e56ab6d629fedf1e940c Mon Sep 17 00:00:00 2001 From: fred Date: Sat, 25 Jul 1998 12:13:31 +0000 Subject: [PATCH] lilypond-1.0.4 --- stepmake/stepmake/c-rules.make | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 stepmake/stepmake/c-rules.make 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 $< > $@ + -- 2.39.5