diff options
author | Gareth Hughes <[email protected]> | 2000-11-01 03:14:12 +0000 |
---|---|---|
committer | Gareth Hughes <[email protected]> | 2000-11-01 03:14:12 +0000 |
commit | 9f568e512f54b452a4c533b766b40ad2e64446bc (patch) | |
tree | ff613c72bfa883372164f6174af17641a0a00ffb /progs/tests/Makefile | |
parent | acdb6db846de9f3dcf97ab918e2d89781f238592 (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/Makefile | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/progs/tests/Makefile b/progs/tests/Makefile index 634d9786f26..faab7898756 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 |