emul: make config simpler and closer to the embedded case
[bertos.git] / bertos / emul / emul.mk
index 7e2346b630741255a41270c50bf94830639f01cb..8636da6536a4a21df9a1eb89244f1102aa9f51a2 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)