home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
gondwana.ecr.mu.oz.au/pub/
/
Graphics.tar
/
Graphics
/
avogl.tar.gz
/
avogl.tar
/
vogl
/
examples
/
Makefile.dcc
< prev
next >
Wrap
Makefile
|
1992-09-24
|
751b
|
38 lines
#
# examples makefile
#
CEXAMPS = trivial simple shapes poly views circtxt moretxt curves \
patches balls objvws world loc teapot cube lcube tetra
COBJS = trivial.o simple.o shapes.o poly.o views.o circtxt.o moretxt.o \
curves.o patches.o balls.o objvws.o world.o loc.o \
teapot.o cube.o lcube.o tetra.o
#
# Where to find library
LIB = /src/vogl.lib /hershey/src/hershey.lib
LIBS = -lm
#
MCFLAGS = -md -mc -2.0
CFLAGS = -Isrc: $(MCFLAGS)
CC = dcc
all: $(CEXAMPS)
%.o:%.c
assign src: /src
$(CC) $(CFLAGS) -c $< -o $@
assign src: remove
$(CEXAMPS): $(COBJS) $(LIB)
$(CC) $(CFLAGS) -o $@ $@.o $(LIB) $(LIBS)
$(LIB) :
clean:
delete #?.o core
clobber:
delete $(CEXAMPS) #?.o core