summaryrefslogtreecommitdiff
path: root/progs/demos/Makefile
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2006-12-15 09:31:14 -0700
committerBrian <brian@yutani.localnet.net>2006-12-15 09:31:14 -0700
commitbecb393d42504e59811a3a7c9f077baffab5ce5d (patch)
tree22974807cf0561fbff83f0bc5986347b411ebe92 /progs/demos/Makefile
parente55b771a1ee34df929da5b37d4c677f25442203e (diff)
Use extfuncs.h helper. Added command line options for loading
vertex/fragment shaders from files.
Diffstat (limited to 'progs/demos/Makefile')
-rw-r--r--progs/demos/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/progs/demos/Makefile b/progs/demos/Makefile
index 4623d6c8d9..6369746f00 100644
--- a/progs/demos/Makefile
+++ b/progs/demos/Makefile
@@ -113,6 +113,10 @@ trackball.o: trackball.c trackball.h
$(CC) -c -I$(INCDIR) $(CFLAGS) trackball.c
+extfuncs.h: $(TOP)/progs/util/extfuncs.h
+ cp $< .
+
+
reflect: reflect.o showbuffer.o readtex.o
$(CC) -I$(INCDIR) $(CFLAGS) reflect.o showbuffer.o readtex.o $(APP_LIB_DEPS) -o $@
@@ -141,6 +145,9 @@ engine.o: engine.c trackball.h
$(CC) -c -I$(INCDIR) $(CFLAGS) engine.c
+fslight.c: extfuncs.h
+
+
clean:
-rm -f $(PROGS)
-rm -f *.o *~