home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / graphic / csg_rt / makefile.o32 < prev    next >
Makefile  |  1993-02-09  |  2KB  |  55 lines

  1. #
  2. # CSG Raytracer
  3. #
  4. # OS/2, 32 bit
  5. # IBM C-Set/2
  6. #
  7. # The last time /O+ was tried, it caused floating point exceptions.
  8. # Toronto want input as to whether this is fixed with CSD level 22.
  9. #
  10. # Remove references to GBM stuff if not using GBM FIO_G.C.
  11. #
  12.  
  13. COMMON =    e:\andy\common
  14. GBM =        e:\andy\gbm
  15.  
  16. CFLAGS =    /C+ /I$(COMMON) /I$(GBM) /Sm /W3 /Kb+ /G3 /Gd-e+m+ /Q+ /DOS2_V2 /O+ /Gf+
  17. #CFLAGS =    /C+ /I$(COMMON) /I$(GBM) /Sm /W3 /Kb+ /G3 /Gd-e+m+ /Q+ /DOS2_V2 /Ti+
  18. #LFLAGS =    /NOI /ALIGN:4 /BASE:0x10000 /STACK:0x30000 /PMTYPE:VIO /BATCH /NOLOGO
  19. LFLAGS =    /NOI /ALIGN:4 /BASE:0x10000 /STACK:0x30000 /PMTYPE:VIO /BATCH /NOLOGO /DEBUG
  20.  
  21. .SUFFIXES:    .c .obj
  22.  
  23. .c.obj:
  24.         icc $(CFLAGS) $*.c
  25.  
  26. #
  27.  
  28. 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
  29.         link386 $(LFLAGS) fio tex vector rgbvec col surf sil plane sphere quad shape rt,rt.exe,nul,$(GBM)\gbm;
  30.         copy $(GBM)\gbm.dll
  31.  
  32. fio.obj:    fio.c $(GBM)\gbm.h
  33.  
  34. tex.obj:    tex.c
  35.  
  36. vector.obj:    vector.c vector.h
  37.  
  38. rgbvec.obj:    rgbvec.c rgbvec.h
  39.  
  40. col.obj:    col.c rt.h fio.h tex.h vector.h rgbvec.h
  41.  
  42. surf.obj:    surf.c rt.h fio.h tex.h vector.h rgbvec.h col.h surf.h
  43.  
  44. sil.obj:    sil.c rt.h vector.h sil.h
  45.  
  46. plane.obj:    plane.c rt.h vector.h sil.h plane.h
  47.  
  48. sphere.obj:    sphere.c rt.h vector.h sil.h sphere.h
  49.  
  50. quad.obj:    quad.c rt.h vector.h sil.h quad.h
  51.  
  52. 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
  53.  
  54. 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
  55.