home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
3D Color Clip Art
/
3D_Color_Clip_Art.bin
/
3d-progs
/
rad386
/
makefile.uni
< prev
next >
Wrap
Makefile
|
1996-11-15
|
2KB
|
69 lines
#
# For default output format = RADIANCE
#CFLAGS = $(GENCFLAGS) -g -DRADIANCE
# For default output format = SUNRASTER
#CFLAGS = $(GENCFLAGS) -g -DSUNRASTER
#
# For default output format = UtahRLE
CFLAGS = $(GENCFLAGS) -g -DRLE
SRCS = main.c vox.c input.c preprocess.c render.c\
GGVecLib.c objects.c scan_convert.c radiosity.c\
intersect.c ray_cylinder.c ray_polygon.c ray_sphere.c\
ray_box.c\
read_n_write.c\
poly_scan.c poly_clip.c\
gauss.c\
for_radiance.c\
for_rle.c
OBJS = main.o vox.o input.o preprocess.o render.o\
GGVecLib.o objects.o scan_convert.o radiosity.o\
intersect.o ray_cylinder.o ray_polygon.o ray_sphere.o\
ray_box.o\
read_n_write.o\
poly_scan.o poly_clip.o\
gauss.o\
for_radiance.o\
for_rle.o
rad: ansi2knr exe
.c.o:
./ansi2knr $*.c tmpansi.c
$(CC) $(CFLAGS) -c tmpansi.c
mv tmpansi.o $*.o
/bin/rm tmpansi.c
ansi2knr : ansi2knr.c
$(CC) $(CFLAGS) -o ansi2knr ansi2knr.c
exe: ansi2knr $(OBJS)
$(CC) -o rad $(OBJS) -ll -lm $(LFLAGS)
/bin/rm ansi2knr
/bin/mv rad ../../bin
main.o : main.c GraphicsGems.h data_structure.h render.h vox.h
objects.o : objects.c GraphicsGems.h data_structure.h render.h vox.h
scan_convert.o : scan_convert.c GraphicsGems.h data_structure.h poly.h
input.o : input.c GraphicsGems.h data_structure.h objects.h render.h
preprocess.o : preprocess.c GraphicsGems.h data_structure.h objects.h
read_n_write.o : read_n_write.c GraphicsGems.h data_structure.h render.h
vox.o : vox.c GraphicsGems.h data_structure.h vox.h
render.o : render.c GraphicsGems.h data_structure.h objects.h render.h vox.h rle.h color.h resolu.h
intersect.o : intersect.c GraphicsGems.h data_structure.h objects.h
ray_cylinder.o : ray_cylinder.c GraphicsGems.h data_structure.h
ray_polygon.o : ray_polygon.c GraphicsGems.h data_structure.h
ray_sphere.o : ray_sphere.c GraphicsGems.h data_structure.h
ray_box.o : ray_box.c GraphicsGems.h data_structure.h
radiosity.o : radiosity.c GraphicsGems.h data_structure.h objects.h vox.h
GGVecLib.o : GGVecLib.c GraphicsGems.h
poly_clip.o : poly_clip.c GraphicsGems.h poly.h
poly_scan.o : poly_scan.c GraphicsGems.h poly.h
gauss.o : gauss.c
for_radiance.o : for_radiance.c color.h
for_rle.o : for_rle.c rle.h
clean:
/bin/rm -f $(OBJS) rad