summaryrefslogtreecommitdiff
path: root/progs/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'progs/tests/Makefile')
-rw-r--r--progs/tests/Makefile22
1 files changed, 21 insertions, 1 deletions
diff --git a/progs/tests/Makefile b/progs/tests/Makefile
index cf8e0bfc1e..86b0cb537b 100644
--- a/progs/tests/Makefile
+++ b/progs/tests/Makefile
@@ -159,21 +159,41 @@ invert: invert.o readtex.o
invert.o: invert.c readtex.h
$(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) invert.c -o $@
+
+floattex: floattex.o readtex.o shaderutil.o
+ $(CC) $(CFLAGS) $(LDFLAGS) floattex.o readtex.o shaderutil.o $(LIBS) -o $@
+
+floattex.o: floattex.c readtex.h shaderutil.h
+ $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) floattex.c -o $@
+
+
readtex.o: readtex.c
$(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) readtex.c -o $@
-
readtex.h: $(TOP)/progs/util/readtex.h
ln -s $(TOP)/progs/util/readtex.h .
readtex.c: $(TOP)/progs/util/readtex.c
ln -s $(TOP)/progs/util/readtex.c .
+
+
extfuncs.h: $(TOP)/progs/util/extfuncs.h
ln -s $(TOP)/progs/util/extfuncs.h .
+shaderutil.c: $(TOP)/progs/util/shaderutil.c
+ cp $< .
+
+shaderutil.h: $(TOP)/progs/util/shaderutil.h
+ cp $< .
+
+shaderutil.o: shaderutil.c shaderutil.h
+ $(CC) -c -I$(INCDIR) $(CFLAGS) shaderutil.c
+
+
+
# Emacs tags
tags:
etags `find . -name \*.[ch]` `find ../include`