]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/c-rules.make
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / stepmake / stepmake / c-rules.make
index 8a95ef6a9eb8d46d5748059006fbc4a797ed1c8d..954e7a33a0c306bea99fc77c041e2bd994895bb2 100644 (file)
@@ -12,17 +12,13 @@ $(outdir)/%.lo: %.c
 $(outdir)/%.lo: %.c
        $(DO_LO_DEP) $(CC) -c $(ALL_CFLAGS) $(PIC_FLAGS) -o $@ $<
 
-$(outdir)/%.c: %.y
-       $(BISON) $<
-       mv $(*F).tab.c $@
-
-$(outdir)/%.h: %.y
-       $(BISON) -d $<
-       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 $(outdir)/%.h: %.y
+       $(BISON) -d -o $(outdir)/$*.c $<
 
 $(outdir)/%.c: %.l
-       $(FLEX) -Cfe -p -p -t $< > $@
+       $(FLEX) -Cfe -p -p -o$@ $<
 # could be faster:
-#      $(FLEX) -8 -Cf -t $< > $@
+#      $(FLEX) -8 -Cf -o$@ $<
 
+$(outdir)/%.rc.o: $(outdir)/%.rc
+       $(WINDRES) $(WINDRES_FLAGS) -o$@ $<