
- 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
6 lines
157 B
Plaintext
6 lines
157 B
Plaintext
SUFFIXES += .l
|
|
|
|
ltoo = $E $(call QUIET_MESSAGE,flex,$(<F)) \
|
|
flex -f -o $(@D)/$(<F).c $< && \
|
|
$(WM_SCHEDULER) $(cc) $(cFLAGS) -c $(@D)/$(<F).c -o $@
|