- add additional rule (ending '.ll') for the combination of flex for C-code but compiling the result as C++. This can be needed for re-entrant parsers. - update bison rule to handle renaming of skeleton files. Use a wrap-bison script to manage this.
6 lines
161 B
Plaintext
6 lines
161 B
Plaintext
SUFFIXES += .l
|
|
|
|
ltoo = $E $(call QUIET_MESSAGE,flex,$(<F)) \
|
|
$(WM_SCHEDULER) flex -f -o $(@D)/$(<F).c $< $(AND) \
|
|
$(cc) $(cFLAGS) -c $(@D)/$(<F).c -o $@
|