genode/qt4/lib/mk/qt.mk
Christian Prochaska 7690e5ad07 Fix QtScriptTools compilation
Make the 'moc_*.cpp' and '*.moc' files dependencies of '$(SRC_CC:.cpp=.o)'
to make sure that they get built. This patch fixes #99.
2012-02-14 16:44:22 +01:00

6 lines
194 B
Makefile

SRC_CC += $(filter %.cpp, $(QT_SOURCES))
SRC_C += $(filter %.c, $(QT_SOURCES))
$(SRC_CC:.cpp=.o): $(COMPILER_MOC_HEADER_MAKE_ALL_FILES)
$(SRC_CC:.cpp=.o): $(COMPILER_MOC_SOURCE_MAKE_ALL_FILES)