mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
20 lines
349 B
Makefile
20 lines
349 B
Makefile
|
# 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
|