X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=stepmake%2Fstepmake%2Fc%2B%2B-rules.make;h=8de00bce07a8c80c06d4362b47a101f60d7db6e8;hb=42cb7d44;hp=a368f4f6669b6e2d223604bce7507c824c4e8f79;hpb=ef52d35115c1e05795b8364d064feeeb978c6c87;p=lilypond.git diff --git a/stepmake/stepmake/c++-rules.make b/stepmake/stepmake/c++-rules.make index a368f4f666..8de00bce07 100644 --- a/stepmake/stepmake/c++-rules.make +++ b/stepmake/stepmake/c++-rules.make @@ -12,13 +12,8 @@ $(outdir)/%.lo: %.cc $(outdir)/%.lo: $(outdir)/%.cc $(DO_LO_DEP) $(CXX) -c $(ALL_CXXFLAGS) $(PIC_FLAGS) -o $@ $< -$(outdir)/%.cc: %.yy - $(BISON) -o $@ $< - -$(outdir)/%.hh: %.yy - $(BISON) -o $(subst .hh,-tmp.cc,$@) -d $< - rm $(subst .hh,-tmp.cc,$@) - mv $(subst .hh,-tmp.hh,$@) $@ +$(outdir)/%.cc $(outdir)/%.hh: %.yy + $(BISON) -d -o $(outdir)/$*.cc $< $(outdir)/%.cc: %.ll $(FLEX) -Cfe -p -p -o$@ $<