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.7 2006/09/19 17:48:45 bernie
14 # Revision 1.6 2006/06/02 12:27:36 bernie
15 # Tweak apparence; enable assertions.
17 # Revision 1.5 2006/05/27 22:42:02 bernie
20 # Revision 1.4 2006/05/27 17:16:38 bernie
21 # Make demos a bit more interesting.
23 # Revision 1.3 2006/05/15 07:21:24 bernie
26 # Revision 1.2 2006/03/27 04:49:50 bernie
27 # Add bouncing logo demo.
29 # Revision 1.1 2006/03/22 09:52:13 bernie
30 # Add demo application.
34 # Set to 1 for debug builds
37 # Our target application
40 # FIXME: we want to use g++ for C source too
83 $(OBJDIR)/demo/emul/emulwin.o: emul/emulwin_moc.cpp
84 $(OBJDIR)/demo/drv/lcd_gfx_qt.o: drv/lcd_gfx_qt_moc.cpp
86 EMUL_CFLAGS = $(shell pkg-config QtGui --cflags) -DQT_CLEAN_NAMESPACE -DQT3_SUPPORT
87 EMUL_LDFLAGS = $(shell pkg-config QtGui --libs)
88 demo_CFLAGS = -D_QT=4 -D'ARCH=ARCH_EMUL' -Iapp/demo -Ihw $(EMUL_CFLAGS)
89 demo_CXXFLAGS = -D_QT=4 -D'ARCH=ARCH_EMUL' -Iapp/demo -Ihw $(EMUL_CFLAGS)
90 demo_LDFLAGS = $(EMUL_LDFLAGS)
93 ifeq ($(demo_DEBUG),1)
94 demo_CFLAGS += -D_DEBUG
95 demo_CXXFLAGS += -D_DEBUG
96 # demo_PCSRC += drv/kdebug.c