blob: 2d806cb17de458d3976060309cd81ae282a11483 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
CFLAGS+= -DHAVE_ZLIB -O3 -fPIC -I${LOCALBASE}/include
LDFLAGS= -shared -E -lGL -L${LOCALBASE}/lib -lX11 -lXi -lXmu -lm -lz
all: libgl2ps.so libgl2ps.a
libgl2ps.a: gl2ps.o
${AR} qc $@ $>
libgl2ps.so: gl2ps.o
${LD} ${LDFLAGS} $> -o $@
.c.o:
${CC} -c ${CFLAGS} $*.c
|