home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
graphic
/
csg_rt
/
makefile.o32
< prev
next >
Wrap
Makefile
|
1993-02-09
|
2KB
|
55 lines
#
# CSG Raytracer
#
# OS/2, 32 bit
# IBM C-Set/2
#
# The last time /O+ was tried, it caused floating point exceptions.
# Toronto want input as to whether this is fixed with CSD level 22.
#
# Remove references to GBM stuff if not using GBM FIO_G.C.
#
COMMON = e:\andy\common
GBM = e:\andy\gbm
CFLAGS = /C+ /I$(COMMON) /I$(GBM) /Sm /W3 /Kb+ /G3 /Gd-e+m+ /Q+ /DOS2_V2 /O+ /Gf+
#CFLAGS = /C+ /I$(COMMON) /I$(GBM) /Sm /W3 /Kb+ /G3 /Gd-e+m+ /Q+ /DOS2_V2 /Ti+
#LFLAGS = /NOI /ALIGN:4 /BASE:0x10000 /STACK:0x30000 /PMTYPE:VIO /BATCH /NOLOGO
LFLAGS = /NOI /ALIGN:4 /BASE:0x10000 /STACK:0x30000 /PMTYPE:VIO /BATCH /NOLOGO /DEBUG
.SUFFIXES: .c .obj
.c.obj:
icc $(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 $(GBM)\gbm.lib
link386 $(LFLAGS) fio tex vector rgbvec col surf sil plane sphere quad shape rt,rt.exe,nul,$(GBM)\gbm;
copy $(GBM)\gbm.dll
fio.obj: fio.c $(GBM)\gbm.h
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