blob: 6d6b2830422e0efa7478f32817d3517bb7c4f614 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
CFLAGS+= -DHAVE_ZLIB -O3 -fPIC -I${X11BASE}/include
LDFLAGS= -shared -E -lGL -L${X11BASE}/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
|