mirror of
https://github.com/holub/mame
synced 2025-10-06 17:08:28 +03:00
change make file rules to be consistent to one in sdl build (nw)
This commit is contained in:
parent
89834d2946
commit
9910ce0ecc
@ -345,13 +345,13 @@ RESFILE = $(WINOBJ)/mame.res
|
||||
# QT Debug library
|
||||
#-------------------------------------------------
|
||||
ifdef USE_QTDEBUG
|
||||
QTPATH := $(dir $(shell where gcc.exe))../Qt
|
||||
LIBS += -L$(QTPATH)/lib -lqtmain -lQtGui4 -lQtCore4
|
||||
INCPATH += -I$(QTPATH)/include/QtCore -I$(QTPATH)/include/QtGui -I$(QTPATH)/include
|
||||
QT_INSTALL_HEADERS = $(shell qmake -query QT_INSTALL_HEADERS)
|
||||
LIBS += -L$(shell qmake -query QT_INSTALL_LIBS) -lqtmain -lQtGui4 -lQtCore4
|
||||
INCPATH += -I$(QT_INSTALL_HEADERS)/QtCore -I$(QT_INSTALL_HEADERS)/QtGui -I$(QT_INSTALL_HEADERS)
|
||||
SDLOBJ := $(WINOBJ)/../sdl
|
||||
SDLSRC := $(WINSRC)/../sdl
|
||||
|
||||
MOC = @$(QTPATH)/bin/moc
|
||||
MOC = @moc
|
||||
$(SDLOBJ)/%.moc.c: $(SDLSRC)/%.h
|
||||
$(MOC) $(INCPATH) $(DEFS) $< -o $@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user