summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-01-20 14:54:50 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-01-20 14:54:50 +0000
commitd73e21620aae660b1ef3b97a6a8d2771a0b8f66b (patch)
tree83dffb313af154745a6aef6839f4a17193f3a11e
parentd5cfbef5ad4ce430be94f04512f5d89856af0546 (diff)
new Makefiles for miniglx
-rw-r--r--progs/tests/Makefile32
-rw-r--r--progs/xdemos/Makefile35
2 files changed, 38 insertions, 29 deletions
diff --git a/progs/tests/Makefile b/progs/tests/Makefile
index 7d37f4ef146..096de4ed98b 100644
--- a/progs/tests/Makefile
+++ b/progs/tests/Makefile
@@ -6,28 +6,9 @@
CC = gcc
CFLAGS = -g -I../include
-LIBS = -L../lib -lglut -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXext -lm
-
-PROGS = antialias \
- cva \
- dinoshade \
- fogcoord \
- getprocaddress \
- glfbdevtest \
- manytex \
- miniglxtest \
- multipal \
- projtex \
- seccolor \
- sharedtex \
- stencilwrap \
- texline \
- texwrap \
- vptest1 \
- vptest2 \
- vptest3 \
- vptorus \
- vpwarpmesh
+LIBS = -L../lib -lGL -lm
+
+PROGS = miniglxtest miniglxsample
##### RULES #####
@@ -47,10 +28,3 @@ clean:
rm -f $(PROGS)
rm -f *.o
-
-# auto code generation
-getprocaddress: getprocaddress.c getproclist.h
-
-getproclist.h: ../bin/APIspec getprocaddress.c getprocaddress.py
- python getprocaddress.py > getproclist.h
-
diff --git a/progs/xdemos/Makefile b/progs/xdemos/Makefile
new file mode 100644
index 00000000000..9028c1a3ff9
--- /dev/null
+++ b/progs/xdemos/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. They're not too interesting but they're good for testing.
+
+
+CC = gcc
+CFLAGS = -g -I../include
+LIBS = -L../lib -lGL -lm
+
+PROGS = glxgears
+
+
+##### RULES #####
+
+.SUFFIXES:
+.SUFFIXES: .c
+
+.c:
+ $(CC) $(CFLAGS) $< $(LIBS) -o $@
+
+
+
+
+##### TARGETS #####
+
+default: $(PROGS)
+
+clean:
+ rm -f $(PROGS)
+ rm -f *.o
+
+
+
+