Files
third_party_mesa3d/progs/demos/Makefile.BeOS-R4

100 lines
1.3 KiB
Makefile
Raw Normal View History

1999-08-19 00:55:39 +00:00
# Mesa 3-D graphics library
2001-02-20 17:04:52 +00:00
# Version: 3.5
# Copyright (C) 1995-2001 Brian Paul
1999-08-19 00:55:39 +00:00
# Makefile for GLUT-based demo programs for BeOS R4
##### MACROS #####
INCDIR = ../include
LIBDIR = ../lib
GL_LIBS = -L$(LIBDIR) -L/boot/home/config/lib -Xlinker -rpath $(LIBDIR) -lbe -lglut -lGLU -lGL $(XLIBS)
1999-08-19 00:55:39 +00:00
LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB)
PROGS = \
arbfplight \
bounce \
2000-06-27 15:56:46 +00:00
clearspd \
cubemap \
drawpix \
2000-06-27 16:54:18 +00:00
fire \
fplight \
2000-06-27 15:56:46 +00:00
gamma \
gears \
geartrain \
glinfo \
gloss \
2000-06-27 16:54:18 +00:00
gltestperf \
2000-06-27 15:56:46 +00:00
glutfx \
isosurf \
2000-06-27 16:54:18 +00:00
ipers \
2000-06-27 15:56:46 +00:00
lodbias \
morph3d \
multiarb \
occlude \
osdemo \
paltex \
pixeltex \
pointblast \
2000-06-27 16:54:18 +00:00
ray \
2000-06-27 15:56:46 +00:00
readpix \
reflect \
renormal \
2001-02-20 17:04:52 +00:00
shadowtex \
2000-06-27 15:56:46 +00:00
spectex \
stex3d \
2000-06-27 16:54:18 +00:00
teapot \
terrain \
2000-06-27 15:56:46 +00:00
tessdemo \
texcyl \
texdown \
texenv \
texobj \
trispd \
2000-06-27 16:54:18 +00:00
tunnel \
tunnel2 \
2000-06-27 15:56:46 +00:00
winpos
1999-08-19 00:55:39 +00:00
##### RULES #####
.SUFFIXES:
.SUFFIXES: .c
.c: $(LIB_DEP)
$(CC) -I$(INCDIR) -I../util $(CFLAGS) $< $(GL_LIBS) -o $@
1999-08-19 00:55:39 +00:00
##### TARGETS #####
default:
@echo "Specify a target configuration"
clean:
-rm *.o *~
realclean:
-rm $(PROGS)
-rm *.o *~
targets: $(PROGS)
# execute all programs
exec: $(PROGS)
@for prog in $(PROGS) ; \
do \
echo -n "Running $$prog ..." ; \
$$prog ; \
echo ; \
done
include ../Make-config