rules.mk: Add -D and -I CPPFLAGS to $(MOC) flags

This commit is contained in:
Jan Lindemann 2005-11-08 08:38:27 +00:00 committed by Jan Lindemann
commit 215485c0fd

View file

@ -26,7 +26,7 @@ $(LIBDIR):
# $(RM) $*.o
moc_%.cpp: %.h
$(MOC) -o $@ $<
$(MOC) $(filter -D% -I%,$(strip $(CPPFLAGS))) -o $@ $<
rcc_%.cpp: %.qrc
$(RCC) -o $@ $<