3 # Copyright 2003, 2004, 2005, 2006 Develer S.r.l. (http://www.develer.com/)
6 # Makefile fragment for DevLib demo application.
8 # Author: Bernardo Innocenti <bernie@develer.com>
11 # Revision 1.6 2006/06/02 12:27:36 bernie
12 # Tweak apparence; enable assertions.
14 # Revision 1.5 2006/05/27 22:42:02 bernie
17 # Revision 1.4 2006/05/27 17:16:38 bernie
18 # Make demos a bit more interesting.
20 # Revision 1.3 2006/05/15 07:21:24 bernie
23 # Revision 1.2 2006/03/27 04:49:50 bernie
24 # Add bouncing logo demo.
26 # Revision 1.1 2006/03/22 09:52:13 bernie
27 # Add demo application.
31 # Set to 1 for debug builds
34 # Our target application
81 $(OBJDIR)/demo/emul/emulwin.o: emul/emulwin_moc.cpp
82 $(OBJDIR)/demo/drv/lcd_gfx_qt.o: drv/lcd_gfx_qt_moc.cpp
84 EMUL_CFLAGS = $(shell pkg-config QtGui --cflags) -DQT_CLEAN_NAMESPACE -DQT3_SUPPORT
85 EMUL_LDFLAGS = $(shell pkg-config QtGui --libs)
86 demo_CFLAGS = -D_QT=4 -D'ARCH=ARCH_EMUL' -Iapp/demo -Ihw $(EMUL_CFLAGS)
87 demo_CXXFLAGS = -D_QT=4 -D'ARCH=ARCH_EMUL' -Iapp/demo -Ihw $(EMUL_CFLAGS)
88 demo_LDFLAGS = $(EMUL_LDFLAGS)
91 ifeq ($(demo_DEBUG),1)
92 demo_CFLAGS += -D_DEBUG
93 demo_CXXFLAGS += -D_DEBUG
94 # demo_PCSRC += drv/kdebug.c