summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 .