home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / os2 / rsg_ray / makefile < prev    next >
Encoding:
Makefile  |  1993-11-10  |  1.6 KB  |  55 lines

  1. #
  2. # CSG Raytracer
  3. #
  4. # OS/2, 32 bit
  5. # IBM C-Set++
  6. #
  7. # The last time /O+ was tried, it caused floating point exceptions.
  8. # This is still true of C-Set++ GA.
  9. #
  10.  
  11. COMMON =    e:\ak\common
  12. GBM =        e:\ak\gbm\gbm
  13.  
  14. #CFLAGS =    /C+ /I$(COMMON) /I$(GBM) /W3 /Kb+ /G3 /Gd-e+m+ /Q+ /DOS2 /Gf+ /O+
  15. CFLAGS =    /C+ /I$(COMMON) /I$(GBM) /W3 /Kb+ /G3 /Gd-e+m+ /Q+ /DOS2 /Gf+ /Ti+
  16. #LFLAGS =    /NOI /ALIGN:4 /BASE:0x10000 /STACK:0x30000 /PMTYPE:VIO /BATCH /NOLOGO
  17. LFLAGS =    /NOI /ALIGN:4 /BASE:0x10000 /STACK:0x30000 /PMTYPE:VIO /BATCH /NOLOGO /DEBUG
  18.  
  19. .SUFFIXES:    .c .obj
  20.  
  21. .c.obj:
  22.         icc $(CFLAGS) $*.c
  23.  
  24. #
  25.  
  26. rt.exe:        fio.obj tex.obj vector.obj rgbvec.obj col.obj surf.obj sil.obj plane.obj biplane.obj sphere.obj quad.obj shape.obj rt.obj $(GBM)\gbm.lib
  27.         link386 $(LFLAGS) fio tex vector rgbvec col surf sil plane biplane sphere quad shape rt,rt.exe,nul,$(GBM)\gbm;
  28.         copy $(GBM)\gbm.dll
  29.  
  30. fio.obj:    fio.c $(GBM)\gbm.h
  31.  
  32. tex.obj:    tex.c
  33.  
  34. vector.obj:    vector.c vector.h
  35.  
  36. rgbvec.obj:    rgbvec.c rgbvec.h
  37.  
  38. col.obj:    col.c rt.h fio.h tex.h vector.h rgbvec.h
  39.  
  40. surf.obj:    surf.c rt.h fio.h tex.h vector.h rgbvec.h col.h surf.h
  41.  
  42. sil.obj:    sil.c rt.h vector.h sil.h
  43.  
  44. plane.obj:    plane.c rt.h vector.h sil.h plane.h
  45.  
  46. biplane.obj:    biplane.c rt.h vector.h sil.h biplane.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 biplane.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 biplane.h sphere.h quad.h shape.h
  55.