home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
gondwana.ecr.mu.oz.au/pub/
/
Graphics.tar
/
Graphics
/
SPD.3.0.shar.gz
/
SPD.3.0.shar
/
makefile
< prev
next >
Wrap
Makefile
|
1991-01-13
|
1KB
|
60 lines
# makefile for standard procedural databases
# Author: Eric Haines, 3D/Eye, Inc.
# Works on HP 300 and 800 machines, Apollo DN10000 - might even work for you
CC=cc -O
INC=def.h lib.h
BASELIB=-lm
all: balls gears mount rings teapot tetra tree
lib.o: $(INC) lib.c
$(CC) -c lib.c
balls: lib.o balls.o
$(CC) -o balls balls.o lib.o $(BASELIB)
balls.o: $(INC) balls.c
$(CC) -c balls.c
gears: lib.o gears.o
$(CC) -o gears gears.o lib.o $(BASELIB)
gears.o: $(INC) gears.c
$(CC) -c gears.c
mount: lib.o mount.o
$(CC) -o mount mount.o lib.o $(BASELIB)
mount.o: $(INC) mount.c
$(CC) -c mount.c
rings: lib.o rings.o
$(CC) -o rings rings.o lib.o $(BASELIB)
rings.o: $(INC) rings.c
$(CC) -c rings.c
teapot: lib.o teapot.o
$(CC) -o teapot teapot.o lib.o $(BASELIB)
teapot.o: $(INC) teapot.c
$(CC) -c teapot.c
tetra: lib.o tetra.o
$(CC) -o tetra tetra.o lib.o $(BASELIB)
tetra.o: $(INC) tetra.c
$(CC) -c tetra.c
tree: lib.o tree.o
$(CC) -o tree tree.o lib.o $(BASELIB)
tree.o: $(INC) tree.c
$(CC) -c tree.c
clean:
rm -f balls gears mount rings teapot tetra tree
rm -f balls.o gears.o mount.o rings.o teapot.o tetra.o tree.o
rm -f lib.o