summaryrefslogtreecommitdiffstats
path: root/progs/osdemos/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'progs/osdemos/Makefile')
-rw-r--r--progs/osdemos/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/progs/osdemos/Makefile b/progs/osdemos/Makefile
index 03ab78ac08c..7d1bc08a4e0 100644
--- a/progs/osdemos/Makefile
+++ b/progs/osdemos/Makefile
@@ -14,7 +14,8 @@ OSMESA32_LIBS = -L$(LIB_DIR) -lglut -lOSMesa32 -lGLU -lGL $(APP_LIB_DEPS)
LIB_DEP = $(LIB_DIR)/$(GL_LIB_NAME) $(LIB_DIR)/$(GLU_LIB_NAME) $(LIB_DIR)/$(GLUT_LIB_NAME)
PROGS = \
- osdemo
+ osdemo \
+ ostest1
##### RULES #####
@@ -57,6 +58,10 @@ showbuffer.o: showbuffer.c showbuffer.h
osdemo: osdemo.c
$(CC) -I$(INCDIR) $(CFLAGS) osdemo.c $(OSMESA_LIBS) -o $@
+# special case: need the -lOSMesa library:
+ostest1: ostest1.c
+ $(CC) -I$(INCDIR) $(CFLAGS) ostest1.c $(OSMESA_LIBS) -o $@
+
# another special case: need the -lOSMesa16 library:
osdemo16: osdemo16.c
$(CC) -I$(INCDIR) $(CFLAGS) osdemo16.c $(OSMESA16_LIBS) -o $@