diff options
author | Brian Paul <[email protected]> | 2008-12-09 14:29:14 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-12-15 18:19:05 -0700 |
commit | b8bfddf976682d8c466994942bf539619511c594 (patch) | |
tree | 01c76d553527780cc5ef82499cdfc6decac3d131 /progs/tests/Makefile | |
parent | c573b9f94a532c07438d72694115182c6a12903a (diff) |
demos: updated tests/floattex.c (doesn't work just yet).
Diffstat (limited to 'progs/tests/Makefile')
-rw-r--r-- | progs/tests/Makefile | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/progs/tests/Makefile b/progs/tests/Makefile index cf8e0bfc1e5..86b0cb537be 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` |