summaryrefslogtreecommitdiff
path: root/progs/demos/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'progs/demos/Makefile')
-rw-r--r--progs/demos/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/progs/demos/Makefile b/progs/demos/Makefile
index aadf33e1ba..44b79c26f1 100644
--- a/progs/demos/Makefile
+++ b/progs/demos/Makefile
@@ -21,6 +21,7 @@ PROGS = \
clearspd \
cubemap \
drawpix \
+ engine \
fire \
fogcoord \
fplight \
@@ -131,6 +132,13 @@ gloss.o: gloss.c trackball.h
$(CC) -c -I$(INCDIR) $(CFLAGS) gloss.c
+engine: engine.o trackball.o readtex.o
+ $(CC) -I$(INCDIR) $(CFLAGS) engine.o trackball.o readtex.o $(APP_LIB_DEPS) -o $@
+
+engine.o: engine.c trackball.h
+ $(CC) -c -I$(INCDIR) $(CFLAGS) engine.c
+
+
clean:
-rm -f $(PROGS)
-rm -f *.o *~