summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-03-14 15:43:46 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-03-14 15:43:46 +0000
commitadd99d01ee7bf22e87c2c13b3476f6d70d0b3a7d (patch)
treefb86dc7b8d20e96eacb350e37fbac4cb12b9a3df
parent5b8ed5150141d714354f26051c8c052a446f2cbd (diff)
added fptest1, fptexture, texrect, etc
-rw-r--r--progs/tests/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/progs/tests/Makefile b/progs/tests/Makefile
index f57759cc50..eb087813e0 100644
--- a/progs/tests/Makefile
+++ b/progs/tests/Makefile
@@ -12,6 +12,8 @@ PROGS = antialias \
cva \
dinoshade \
fogcoord \
+ fptest1 \
+ fptexture \
getprocaddress \
manytex \
multipal \
@@ -20,6 +22,7 @@ PROGS = antialias \
sharedtex \
stencilwrap \
texline \
+ texrect \
texwrap \
vptest1 \
vptest2 \
@@ -36,6 +39,9 @@ PROGS = antialias \
.c:
$(CC) $(CFLAGS) $< $(LIBS) -o $@
+.c.o:
+ $(CC) -c -I. -I../include $(CFLAGS) $< -o $@
+
##### TARGETS #####
@@ -52,3 +58,19 @@ getprocaddress: getprocaddress.c getproclist.h
getproclist.h: ../bin/APIspec getprocaddress.c getprocaddress.py
python getprocaddress.py > getproclist.h
+
+texrect: texrect.o readtex.o
+ $(CC) texrect.o readtex.o $(LIBS) -o $@
+
+texrect.o: texrect.c readtex.h
+ $(CC) -c $(CFLAGS) $< -o $@
+
+readtex.o: readtex.c
+ $(CC) -c $(CFLAGS) $< -o $@
+
+
+readtex.h: ../util/readtex.h
+ ln -s ../util/readtex.h .
+
+readtex.c: ../util/readtex.c
+ ln -s ../util/readtex.c .