blob: a3410bb6393b003cf1b3cd80cdb63dd3906e47fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# You'll need graphics/libglut in order to build example programs
CC=%%CC%%
RM=%%RM%%
CFLAGS= %%CFLAGS%% -DHAVE_ZLIB -O3 -I%%X11BASE%%/include
LDFLAGS= -lgl2ps -lGL -lGLU -lglut -L%%X11BASE%%/lib -lX11 -lXi -lXmu -lm -lz
gl2psTest: gl2psTest.o
${CC} ${LDFLAGS} $> -o $@
gl2psTestSimple: gl2psTestSimple.o
${CC} ${LDFLAGS} $> -o $@
.c.o:
${CC} -c ${CFLAGS} $*.c
clean:
${RM} -f gl2psTest gl2psTest.o gl2psTestSimple gl2psTestSimple.o
|