summaryrefslogtreecommitdiff
path: root/progs/osdemos/Makefile
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-05-19 03:43:39 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-05-19 03:43:39 +0000
commitfd02ca7711b57b903f33654aabe5c0aaa52f641d (patch)
tree4f2c90f7398684a415eda9fc4d237ef27e6d2f73 /progs/osdemos/Makefile
parente35b9058ce5b0cacfa962c05e038292ed1136fc9 (diff)
Demonstrate rendering 8, 16 and 32-bit/channel images all in one program.
Like older osdemo.c program, but test more OpenGL features like texturing, blending, lines.
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 03ab78ac08..7d1bc08a4e 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 $@