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

Last change on this file since 3598 was 3598, checked in by pere, 12 years ago

Typo.

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