source: subversion/applications/rendering/gosmore/Makefile @ 3594

Last change on this file since 3594 was 3594, checked in by pere, 13 years ago

Build with more warnings enabled.

File size: 946 bytes
RevLine 
[3317]1USE_FLITE=-DUSE_FLITE -lflite_cmu_us_kal16 -lflite_usenglish -lflite_cmulex \
2  -lflite
[3594]3CFLAGS=-O2 -W -Wall
[3317]4
5ifneq (${OS},Windows_NT)
6EXTRA=`pkg-config --cflags --libs gtk+-2.0`
7else
8EXTRA=-mms-bitfields -mno-cygwin -I/usr/include/mingw/gtk-2.0 \
9  -I/usr/include/mingw/cairo     -I/usr/include/mingw/glib-2.0 \
10  -I/usr/include/mingw/pango-1.0 -I/usr/include/mingw/atk-1.0 \
11  -I/usr/lib/glib-2.0/include    -I/usr/lib/gtk-2.0/include \
12  -lgtk-win32-2.0 -lgdk-win32-2.0 -lglib-2.0 -lgobject-2.0
13endif
14
[3313]15gosmore:        gosmore.cc
[3317]16                g++ ${CFLAGS} \
17                 `[ -e /usr/include/gps.h ] && echo -DUSE_GPSD -lgps` \
18                 `[ -d /usr/include/flite ] && echo ${USE_FLITE}` \
19                  gosmore.cc -o gosmore ${EXTRA}
[3313]20
[3317]21commit:         gosmore
22                tar cf - Makefile gosmore.cc | ssh \
23                  sabiepark@www.rational.co.za 'cd www; tar xvf -'
24
[3313]25CountColours:   CountColours.c
26                gcc `pkg-config --cflags --libs gtk+-2.0` CountColours.c -o CountColours
Note: See TracBrowser for help on using the repository browser.