2 # Simple makefile for compiling test programs on Linux
3 # These programs aren't intended to be included with the normal
4 # distro as they're not too interesting but good for testing during
9 CFLAGS
= -c
-g
-I..
/include
10 LIBS
= -L..
/lib
-lglut
-lGLU
-lGL
-L
/usr
/X11R6
/lib
-lX11
-lXext
-lm
13 PROGRAMS
= manytex sharedtex
25 $(CC
) manytex.o
$(LIBS
) -o
$@
28 $(CC
) $(CFLAGS
) manytex.c
31 sharedtex
: sharedtex.o
32 $(CC
) sharedtex.o
$(LIBS
) -o
$@
34 sharedtex.o
: sharedtex.c
35 $(CC
) $(CFLAGS
) sharedtex.c