mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
rules.mk: Add -D and -I CPPFLAGS to $(MOC) flags
This commit is contained in:
parent
21273a25cb
commit
215485c0fd
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ $(LIBDIR):
|
|||
# $(RM) $*.o
|
||||
|
||||
moc_%.cpp: %.h
|
||||
$(MOC) -o $@ $<
|
||||
$(MOC) $(filter -D% -I%,$(strip $(CPPFLAGS))) -o $@ $<
|
||||
|
||||
rcc_%.cpp: %.qrc
|
||||
$(RCC) -o $@ $<
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue