summaryrefslogtreecommitdiff
path: root/progs/tests/Makefile
diff options
context:
space:
mode:
authorGareth Hughes <gareth@valinux.com>2000-11-01 03:14:12 +0000
committerGareth Hughes <gareth@valinux.com>2000-11-01 03:14:12 +0000
commit9f568e512f54b452a4c533b766b40ad2e64446bc (patch)
treeff613c72bfa883372164f6174af17641a0a00ffb /progs/tests/Makefile
parentacdb6db846de9f3dcf97ab918e2d89781f238592 (diff)
Added trivial CVA test for testing HW driver fastpaths, good for testing
indexed vertex buffer implementations for instance. Cleaned up Makefile to make building and adding more tests easier.
Diffstat (limited to 'progs/tests/Makefile')
-rw-r--r--progs/tests/Makefile32
1 files changed, 15 insertions, 17 deletions
diff --git a/progs/tests/Makefile b/progs/tests/Makefile
index 634d9786f2..faab789875 100644
--- a/progs/tests/Makefile
+++ b/progs/tests/Makefile
@@ -6,30 +6,28 @@
CC = gcc
-CFLAGS = -c -g -I../include
+CFLAGS = -g -I../include
LIBS = -L../lib -lglut -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXext -lm
+PROGS = cva \
+ manytex \
+ sharedtex \
+ texline
-PROGRAMS = manytex sharedtex
+##### RULES #####
-default: $(PROGRAMS)
-
-clean:
- rm -f $(PROGRAMS)
- rm -f *.o
-
+.SUFFIXES:
+.SUFFIXES: .c
+.c:
+ $(CC) $(CFLAGS) $< $(LIBS) -o $@
-manytex: manytex.o
- $(CC) manytex.o $(LIBS) -o $@
-manytex.o: manytex.c
- $(CC) $(CFLAGS) manytex.c
+##### TARGETS #####
+default: $(PROGS)
-sharedtex: sharedtex.o
- $(CC) sharedtex.o $(LIBS) -o $@
-
-sharedtex.o: sharedtex.c
- $(CC) $(CFLAGS) sharedtex.c
+clean:
+ rm -f $(PROGS)
+ rm -f *.o