summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2004-04-14 21:19:34 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2004-04-14 21:19:34 +0000
commit6fb235661a3a78174e7554b292332a1dbb24f171 (patch)
treea7eafade7171277a5120581c825e26df867c51b4 /progs
parente3b0dde49c8f14d7e5de440e9e914612868078f5 (diff)
Use tcc and the emitted C code from s_fragprog_to_c.c to dynamically compile
and execute fragment programs. Very limited and experimental, but works well enough to run arbfplight.c. http://fabrice.bellard.free.fr/tcc/ Compile with 'make linux-tcc', being sure to make clean first.
Diffstat (limited to 'progs')
-rw-r--r--progs/Makefile2
-rw-r--r--progs/tests/Makefile1
2 files changed, 2 insertions, 1 deletions
diff --git a/progs/Makefile b/progs/Makefile
index 7f4ee09961..c44c9d73e4 100644
--- a/progs/Makefile
+++ b/progs/Makefile
@@ -10,7 +10,7 @@ SUBDIRS = $(PROGRAM_DIRS)
default: $(TOP)/configs/current
@for dir in $(SUBDIRS) ; do \
if [ -d $$dir ] ; then \
- (cd $$dir ; make) ; \
+ (cd $$dir ; make) || exit 1 ; \
fi \
done
diff --git a/progs/tests/Makefile b/progs/tests/Makefile
index ee75e71c7d..ac354aeeb6 100644
--- a/progs/tests/Makefile
+++ b/progs/tests/Makefile
@@ -15,6 +15,7 @@ SOURCES = antialias.c \
arbfptest1.c \
arbfptexture.c \
arbfptrig.c \
+ arbfpwpos.c \
arbvptest1.c \
arbvptest3.c \
arbvptorus.c \