wmake/rules/General: Add support for WM_SCHEDULER to the compilation of lex, yacc and moc files

This commit is contained in:
Henry Weller
2016-07-03 22:21:02 +01:00
parent af6e8f150c
commit 47b6000c36
9 changed files with 40 additions and 17 deletions

View File

@ -1,3 +1,4 @@
SUFFIXES += .l
ltoo = flex -o $(@D)/$(<F).c $< ; $(cc) $(cFLAGS) -c $(@D)/$(<F).c -o $@
ltoo = $(WM_SCHEDULER) flex -o $(@D)/$(<F).c $< $(AND) \
$(cc) $(cFLAGS) -c $(@D)/$(<F).c -o $@