openfoam/wmake/rules/General/byacc
2016-11-13 11:19:29 +00:00

8 lines
239 B
Plaintext

SUFFIXES += .y
ytoo = $E $(call QUIET_MESSAGE,byacc,$(<F)) \
$(WM_SCHEDULER) byacc -v $(YYPREFIX) -d $< $(AND) \
mv y.tab.c $(@D)/$(<F).C $(AND) \
mv y.tab.h $(@D)/$(<F).H $(AND) \
$(CC) $(c++FLAGS) -c $(@D)/$(<F).C -o $@