home *** CD-ROM | disk | FTP | other *** search
/ gondwana.ecr.mu.oz.au/pub/ / Graphics.tar / Graphics / VOGLE.ZIP / EXAMPLES / OS2PM / MAKEFILE.OS2 < prev    next >
Encoding:
Text File  |  1994-05-01  |  1.8 KB  |  76 lines

  1. #
  2. # This Makefile is used to compile the the VOGLE examples for
  3. # the OS/2 PM driver with Borland C++ 1.0 for OS/2.
  4. #
  5.  
  6. CC = bcc
  7.  
  8. CFLAGS = -c -sm -4 -O2 -ff -w-pro -I..\..\src -DTC
  9.  
  10. LIB = ..\..\src\voglepm.lib
  11.  
  12. TESTS = trivial.exe simple.exe shapes.exe poly.exe views.exe circtxt.exe \
  13.         moretxt.exe curves1.exe patches1.exe balls.exe objvws.exe world.exe \
  14.         getstr.exe loc.exe teapot.exe cube.exe lcube.exe \
  15.         tetra.exe jtext.exe lstyles.exe licosa.exe
  16.  
  17. all: $(TESTS)
  18.  
  19. voglepm.res: voglepm.rc
  20.     brcc.exe -R -I..\..\drivers\ibmpc -FO voglepm.res voglepm.rc
  21.  
  22. .obj.exe:
  23.     tlink /Toe /aa $*.obj \BCOS2\LIB\C02.OBJ, $*.exe, nul, $(LIB) C2MT.LIB OS2.LIB,
  24.     rc voglepm.res $*.exe
  25.  
  26. # Use this to create OS/2 examples from Windows examples.
  27. #{..\mswin}.c.obj:
  28. #    @echo Creating $*.c from mswin example $< ...
  29. #    sed -e "s/mswin/os2pm/" $< > $*.c
  30. #    $(CC) $(CFLAGS) $*.c
  31.  
  32. trivial.exe: $(LIB) voglepm.res trivial.obj 
  33.  
  34. simple.exe: $(LIB) voglepm.res simple.obj 
  35.  
  36. licosa.exe: $(LIB) voglepm.res licosa.obj 
  37.  
  38. shapes.exe: $(LIB) voglepm.res shapes.obj 
  39.  
  40. poly.exe: $(LIB) voglepm.res poly.obj 
  41.  
  42. views.exe: $(LIB) voglepm.res views.obj 
  43.  
  44. circtxt.exe: $(LIB) voglepm.res circtxt.obj 
  45.  
  46. jtext.exe: $(LIB) voglepm.res jtext.obj 
  47.  
  48. moretxt.exe: $(LIB) voglepm.res moretxt.obj 
  49.  
  50. getstr.exe: $(LIB) voglepm.res getstr.obj 
  51.  
  52. curves1.exe: $(LIB) voglepm.res curves1.obj 
  53.  
  54. patches1.exe: $(LIB) voglepm.res patches1.obj 
  55.  
  56. objvws.exe: $(LIB) voglepm.res objvws.obj 
  57.  
  58. balls.exe: $(LIB) voglepm.res balls.obj 
  59.  
  60. world.exe: $(LIB) voglepm.res world.obj  
  61.  
  62. loc.exe: $(LIB) voglepm.res loc.obj  
  63.  
  64. lstyles.exe: $(LIB) voglepm.res lstyles.obj  
  65.  
  66. teapot.exe: $(LIB) voglepm.res teapot.obj  
  67.  
  68. distrt.exe: $(LIB) voglepm.res distrt.obj  
  69.  
  70. cube.exe: $(LIB) voglepm.res cube.obj  
  71.  
  72. lcube.exe: $(LIB) voglepm.res lcube.obj  
  73.  
  74. tetra.exe: $(LIB) voglepm.res tetra.obj  
  75.  
  76.