diff options
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 94473fc59d1..b96ad9f4b46 100644 --- a/progs/tests/Makefile +++ b/progs/tests/Makefile @@ -182,21 +182,41 @@ fillrate.o: fillrate.c readtex.h + +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 $(APP_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` |