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.5 2006/05/27 22:42:02 bernie
14 # Revision 1.4 2006/05/27 17:16:38 bernie
15 # Make demos a bit more interesting.
17 # Revision 1.3 2006/05/15 07:21:24 bernie
20 # Revision 1.2 2006/03/27 04:49:50 bernie
21 # Add bouncing logo demo.
23 # Revision 1.1 2006/03/22 09:52:13 bernie
24 # Add demo application.
29 # Set to 1 for debug builds
32 # Our target application
79 $(OBJDIR)/demo/emul/emulwin.o: emul/emulwin_moc.cpp
80 $(OBJDIR)/demo/drv/lcd_gfx_qt.o: drv/lcd_gfx_qt_moc.cpp
82 EMUL_CFLAGS = $(shell pkg-config QtGui --cflags) -DQT_CLEAN_NAMESPACE -DQT3_SUPPORT
83 EMUL_LDFLAGS = $(shell pkg-config QtGui --libs)
84 demo_CFLAGS = -Os -D_QT=4 -D'ARCH=ARCH_EMUL' -Iapp/demo -Ihw $(EMUL_CFLAGS)
85 demo_CXXFLAGS = -Os -D_QT=4 -D'ARCH=ARCH_EMUL' -Iapp/demo -Ihw $(EMUL_CFLAGS)
86 demo_LDFLAGS = $(EMUL_LDFLAGS)
89 ifeq ($(demo_DEBUG),1)
90 demo_CFLAGS += -D_DEBUG
91 # demo_PCSRC += drv/kdebug.c