home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
graphic
/
csg_rt
/
makefile.bcc
< prev
next >
Wrap
Makefile
|
1992-12-09
|
1KB
|
51 lines
#
# CSG Raytracer
#
# Borland C++ 3.0 makefile
#
# Must use the basic FIO_B.C module.
#
COMMON = e:\andy\common
CFLAGS = -c -ml -a -I$(COMMON) -ff -O2 -G -w-rvl
LFLAGS = /c /x
.SUFFIXES: .c .obj
.c.obj:
bcc $(CFLAGS) $*.c
#
rt.exe: fio.obj tex.obj vector.obj rgbvec.obj col.obj surf.obj sil.obj plane.obj sphere.obj quad.obj shape.obj rt.obj
@echo > rt.lnk c0l fio tex vector rgbvec col surf sil plane sphere quad shape rt
@echo >> rt.lnk rt
@echo >> rt.lnk nul
@echo >> rt.lnk emu mathl cl
tlink $(LFLAGS) @rt.lnk
fio.obj: fio.c
tex.obj: tex.c
vector.obj: vector.c vector.h
rgbvec.obj: rgbvec.c rgbvec.h
col.obj: col.c rt.h fio.h tex.h vector.h rgbvec.h
surf.obj: surf.c rt.h fio.h tex.h vector.h rgbvec.h col.h surf.h
sil.obj: sil.c rt.h vector.h sil.h
plane.obj: plane.c rt.h vector.h sil.h plane.h
sphere.obj: sphere.c rt.h vector.h sil.h sphere.h
quad.obj: quad.c rt.h vector.h sil.h quad.h
shape.obj: shape.c rt.h fio.h tex.h vector.h rgbvec.h col.h surf.h sil.h plane.h sphere.h quad.h shape.h
rt.obj: rt.c rt.h fio.h tex.h vector.h rgbvec.h col.h surf.h sil.h plane.h sphere.h quad.h shape.h