summaryrefslogtreecommitdiff
path: root/games/fgfs-base/patches.tools/Makefile.gpc
blob: 3d926ffa24e50ca0420a2e4748dc87d0faed590a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Unix/Linux makefile for GPC 2.31
#
# Riley Rainey  (riley.rainey@websimulations.com)

CFLAGS = -O -g

libgpc.a: gpc.o
	rm -f $@
	ar cr $@ $<
	ranlib $@

clean:
	rm -f libgpc.a *.o core *~

install: libgpc.a
	-mkdir -p ${PREFIX}/lib
	-mkdir -p ${PREFIX}/include
	install -c libgpc.a ${PREFIX}/lib/libgpc.a
	install -c gpc.h ${PREFIX}/include/gpc.h