summaryrefslogtreecommitdiffstats
path: root/progs/demos/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'progs/demos/Makefile')
-rw-r--r--progs/demos/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/progs/demos/Makefile b/progs/demos/Makefile
index 87b5b84b3d7..74255819995 100644
--- a/progs/demos/Makefile
+++ b/progs/demos/Makefile
@@ -101,6 +101,16 @@ showbuffer.o: showbuffer.c showbuffer.h
$(CC) -c -I$(INCDIR) $(CFLAGS) showbuffer.c
+trackball.c: $(TOP)/progs/util/trackball.c
+ cp $< .
+
+trackball.h: $(TOP)/progs/util/trackball.h
+ cp $< .
+
+trackball.o: trackball.c trackball.h
+ $(CC) -c -I$(INCDIR) $(CFLAGS) trackball.c
+
+
reflect: reflect.o showbuffer.o readtex.o
$(CC) -I$(INCDIR) $(CFLAGS) reflect.o showbuffer.o readtex.o $(APP_LIB_DEPS) -o $@
@@ -114,6 +124,14 @@ shadowtex: shadowtex.o showbuffer.o
shadowtex.o: shadowtex.c showbuffer.h
$(CC) -c -I$(INCDIR) $(CFLAGS) shadowtex.c
+
+gloss: gloss.o trackball.o readtex.o
+ $(CC) -I$(INCDIR) $(CFLAGS) gloss.o trackball.o readtex.o $(APP_LIB_DEPS) -o $@
+
+gloss.o: gloss.c trackball.h
+ $(CC) -c -I$(INCDIR) $(CFLAGS) gloss.c
+
+
clean:
-rm -f $(PROGS)
-rm -f *.o *~