
- only wrap compiler calls (not things like flex/bison) - avoid single quoted '&&' (causes syntax errors) STYLE: report WM_COMPILE_CONTROL value in top-level Allwmake
8 lines
227 B
Plaintext
8 lines
227 B
Plaintext
SUFFIXES += .y
|
|
|
|
ytoo = $E $(call QUIET_MESSAGE,byacc,$(<F)) \
|
|
byacc -v $(YYPREFIX) -d $< && \
|
|
mv y.tab.c $(@D)/$(<F).C && \
|
|
mv y.tab.h $(@D)/$(<F).H && \
|
|
$(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $(@D)/$(<F).C -o $@
|