Based on patch contributed by Alexey Matveichev Resolves feature request http://bugs.openfoam.org/view.php?id=2328
8 lines
247 B
Plaintext
8 lines
247 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 $@
|