Merged from external project:
[bertos.git] / bertos / emul / emul.mk
index 7e2346b630741255a41270c50bf94830639f01cb..ad1391ad26a62d3b3b653ef7390b997f9ff99bd9 100644 (file)
@@ -4,10 +4,11 @@
 #
 # Author: Bernie Innocenti <bernie@codewiz.org>
 #
-# Qt configuration for devlib emulator demo.  Include it from
+# Qt configuration for BeRTOS emulator.  Include it from
 # your app Makefile fragment
 
-EMUL_CFLAGS = $(shell pkg-config QtCore QtGui --cflags) -DQT_CLEAN_NAMESPACE -DQT3_SUPPORT
+EMUL_CFLAGS = -D'ARCH=(ARCH_EMUL|ARCH_QT)' \
+       $(shell pkg-config QtCore QtGui --cflags) -DQT_CLEAN_NAMESPACE
 EMUL_LDFLAGS = $(shell pkg-config QtCore QtGui --libs)
 QT_MOC = $(shell pkg-config QtCore --variable=moc_location)
 #QT_UIC = $(shell pkg-config QtCore --variable=uic_location)