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 -f $< ; $(CC) $(c++FLAGS) $(c++LESSWARN) -c $(@D)/$(<F).C -o $@
Ltoo = $(WM_SCHEDULER) flex -+ -o$(@D)/$(<F).C -f $< $(AND) \
$(CC) $(c++FLAGS) $(c++LESSWARN) -c $(@D)/$(<F).C -o $@