home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 8
/
CDASC08.ISO
/
NEWS
/
RADIANCE
/
SRC
/
OT
/
RMAKEFIL
< prev
next >
Wrap
Text File
|
1993-10-07
|
2KB
|
68 lines
# SCCSid "@(#)Rmakefile 2.2 7/1/92 LBL"
#
# Compiles for octree conversion program
#
# The compile define "STRICT" enforces strict intersection calculations
# so that no cube which does not intersect an object contains that object.
# Otherwise, a somewhat faster more lax approach is taken by certain routines.
#
OPT = -O
MACH = -DBSD
CFLAGS = -DSTRICT $(OPT) $(MACH) -I../common -L../lib
CC = cc
LIBDIR = /usr/local/lib/ray
INSTDIR = /usr/local/bin
all: oconv getbbox
oconv: oconv.o sphere.o writeoct.o o_face.o plocate.o \
clip.o o_cone.o o_instance.o bbox.o initotypes.o readfargs.o malloc.o
$(CC) $(CFLAGS) -o oconv oconv.o writeoct.o sphere.o o_face.o \
plocate.o clip.o o_cone.o o_instance.o bbox.o readfargs.o \
initotypes.o malloc.o -lrt -lm
getbbox: getbbox.o readobj2.o bbox.o initotypes2.o
$(CC) $(CFLAGS) -o getbbox getbbox.o readobj2.o \
bbox.o initotypes2.o -lrt -lm
install: oconv getbbox
cp oconv getbbox $(INSTDIR)
clean:
set nonomatch; rm -f oconv getbbox *.o core
oconv.o: oconv.c
$(CC) $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c oconv.c
readfargs.o: readfargs.c ../common/object.h
$(CC) $(CFLAGS) -DMEMHOG -c readfargs.c
bbox.o initotypes.o o_cone.o o_face.o \
o_instance.o oconv.o sphere.o \
writeoct.o: ../common/standard.h ../common/mat4.h ../common/fvect.h
initotypes.o o_cone.o o_face.o oconv.o \
sphere.o writeoct.o: ../common/octree.h
bbox.o o_cone.o o_face.o o_instance.o oconv.o \
sphere.o writeoct.o: ../common/object.h
bbox.o initotypes.o oconv.o \
sphere.o writeoct.o: ../common/otypes.h
bbox.o o_cone.o: ../common/cone.h
bbox.o o_face.o: ../common/face.h
bbox.o o_instance.o: ../common/instance.h ../common/octree.h
clip.o o_face.o plocate.o: plocate.h
clip.o plocate.o: ../common/fvect.h
initotypes.o initotypes2.o: ../common/otypes.h