mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
rules.mk: Fix moc for Qt 3
This commit is contained in:
parent
308de18066
commit
9e2b78be92
1 changed files with 5 additions and 0 deletions
|
|
@ -24,8 +24,13 @@ $(LIBDIR):
|
|||
# $(AR) r $@ $*.o
|
||||
# $(RM) $*.o
|
||||
|
||||
ifeq ($(QT_VERSION),3)
|
||||
moc_%.cpp: %.h
|
||||
$(MOC) -o $@ $<
|
||||
else
|
||||
moc_%.cpp: %.h
|
||||
$(MOC) $(filter -D% -I%,$(strip $(CPPFLAGS))) -o $@ $<
|
||||
endif
|
||||
|
||||
rcc_%.cpp: %.qrc
|
||||
$(RCC) -o $@ $<
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue