home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / egltk22.zip / MAKEFILE < prev    next >
Text File  |  1998-05-11  |  637b  |  22 lines

  1. # Escape GL Sample Custom Screen Saver DLL
  2.  
  3. TARGETS = sample.egl sample2.egl wave.egl
  4.  
  5. #
  6. #  You may need to modify TOP to match where you have the opengl libraries and headers
  7. #
  8.  
  9. TOP = d:\opengl
  10. OGLLIBS = $(TOP)\lib\opengl.lib $(TOP)\lib\glut.lib $(TOP)\lib\libtk.lib
  11.  
  12. default: $(TARGETS)
  13.  
  14. all: default
  15.  
  16. .c.egl:
  17.     icc /Q /Ge- /Gm /Ss -I$(TOP)\include\gl $(OGLLIBS) custom.def $< -Fe $@ /B"/pmtype:pm /ALIGN:32 /EXEPACK:2 /PACKCODE /PACKDATA /OPTFUNC"
  18.  
  19. .cpp.egl:
  20.     icc /Q /Ge- /Gm /Ss -I$(TOP)\include\gl $(OGLLIBS) glcustom.lib glcustom.def $< -Fe $@ /B"/pmtype:pm /ALIGN:32 /EXEPACK:2 /PACKCODE /PACKDATA /OPTFUNC"
  21.  
  22.