summaryrefslogtreecommitdiff
path: root/progs/tests/Makefile
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-09-01 21:01:18 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-09-01 21:01:18 +0000
commite8a84a93aab544f1e47398c43facd0ed1378faa3 (patch)
treef8a5479a6520d6a2da3e447ba8702859073d5e46 /progs/tests/Makefile
parentbed573586edb3abaf0a999d6ff4a665cc5ec0cc5 (diff)
initial check-in
Diffstat (limited to 'progs/tests/Makefile')
-rw-r--r--progs/tests/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/progs/tests/Makefile b/progs/tests/Makefile
new file mode 100644
index 0000000000..634d9786f2
--- /dev/null
+++ b/progs/tests/Makefile
@@ -0,0 +1,35 @@
+
+# Simple makefile for compiling test programs on Linux
+# These programs aren't intended to be included with the normal
+# distro as they're not too interesting but good for testing during
+# development.
+
+
+CC = gcc
+CFLAGS = -c -g -I../include
+LIBS = -L../lib -lglut -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXext -lm
+
+
+PROGRAMS = manytex sharedtex
+
+
+default: $(PROGRAMS)
+
+clean:
+ rm -f $(PROGRAMS)
+ rm -f *.o
+
+
+
+manytex: manytex.o
+ $(CC) manytex.o $(LIBS) -o $@
+
+manytex.o: manytex.c
+ $(CC) $(CFLAGS) manytex.c
+
+
+sharedtex: sharedtex.o
+ $(CC) sharedtex.o $(LIBS) -o $@
+
+sharedtex.o: sharedtex.c
+ $(CC) $(CFLAGS) sharedtex.c