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 0eed3ae176
commit f29bc66073
9 changed files with 40 additions and 17 deletions

View File

@ -1,7 +1,11 @@
SUFFIXES += .y .Y
ytoo = yacc -v -d $< ; mv y.tab.c $(@D)/$(<F).c ; mv y.tab.h $(@D)/parser.h ; \
$(CC) $(c++FLAGS) -c $(@D)/$(<F).c -o $@
ytoo = $(WM_SCHEDULER) yacc -v -d $< $(AND) \
mv y.tab.c $(@D)/$(<F).c $(AND) \
mv y.tab.h $(@D)/parser.h $(AND) \
$(CC) $(c++FLAGS) -c $(@D)/$(<F).c -o $@
Ytoo = yacc -v -d $< ; mv y.tab.c $(@D)/$(<F).C ; mv y.tab.h $(@D)/parser.H ; \
$(CC) $(c++FLAGS) -c $(@D)/$(<F).C -o $@
Ytoo = $(WM_SCHEDULER) yacc -v -d $< $(AND) \
mv y.tab.c $(@D)/$(<F).C $(AND) \
mv y.tab.h $(@D)/parser.H $(AND) \
$(CC) $(c++FLAGS) -c $(@D)/$(<F).C -o $@