home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / samples / opengl / auxdemo / auxdemo.mak < prev    next >
Makefile  |  1999-05-11  |  4KB  |  131 lines

  1. #===================================================================
  2. #
  3. #   AUXDEMO.MAK - OpenGL AUX demo make file
  4. #   Copyright    IBM Corporation 1996
  5. #
  6. #===================================================================
  7. #===================================================================
  8. # Include the file ibmsamp.inc which defines the various macros
  9. # depending on the target specified.
  10. #
  11. # The following macros are defined in ibmsamp.inc:
  12. #
  13. #       OBJDIR   - Directory where object files are created
  14. #       EXEDIR   - Directory where executable files are created
  15. #       RC       - Resource compiler
  16. #       RCFLAGS  - Resource compiler flags
  17. #       LINK     - Linker
  18. #       LFLAGS   - Linker flags
  19. #       MTLIBS   - Multithreaded versions of the runtime libraries
  20. #===================================================================
  21.  
  22. !include ..\..\ibmsamp.inc
  23.  
  24. #-------------------------------------------------------------------
  25. #
  26. #   OpenGL specific definitions
  27. #
  28. #-------------------------------------------------------------------
  29.  
  30. AUXLIB = libaux.lib
  31. OGLLIB = opengl.lib
  32. CFLAGS = $(CFLAGS) -Ss -W1 -Ms -Gm+ -DOS2
  33.  
  34. #-------------------------------------------------------------------
  35. #
  36. #   A list of all of the exe files
  37. #
  38. #-------------------------------------------------------------------
  39.  
  40. EXES = $(EXEDIR)\accanti.exe  \
  41.        $(EXEDIR)\accnot.exe   \
  42.        $(EXEDIR)\accpersp.exe \
  43.        $(EXEDIR)\accum.exe    \
  44.        $(EXEDIR)\aim.exe      \
  45.        $(EXEDIR)\alpha.exe    \
  46.        $(EXEDIR)\alpha3d.exe  \
  47.        $(EXEDIR)\anti.exe     \
  48.        $(EXEDIR)\antiindx.exe \
  49.        $(EXEDIR)\antipidx.exe \
  50.        $(EXEDIR)\antipoly.exe \
  51.        $(EXEDIR)\antipt.exe   \
  52.        $(EXEDIR)\bezcurve.exe \
  53.        $(EXEDIR)\bezmesh.exe  \
  54.        $(EXEDIR)\bezsurf.exe  \
  55.        $(EXEDIR)\checker.exe  \
  56.        $(EXEDIR)\checker2.exe \
  57.        $(EXEDIR)\chess.exe    \
  58.        $(EXEDIR)\clip.exe     \
  59.        $(EXEDIR)\colormat.exe \
  60.        $(EXEDIR)\cone.exe     \
  61.        $(EXEDIR)\cube.exe     \
  62.        $(EXEDIR)\curve.exe    \
  63.        $(EXEDIR)\depthcue.exe \
  64.        $(EXEDIR)\disk.exe     \
  65.        $(EXEDIR)\dof.exe      \
  66.        $(EXEDIR)\dofnot.exe   \
  67.        $(EXEDIR)\double.exe   \
  68.        $(EXEDIR)\drawf.exe    \
  69.        $(EXEDIR)\feedback.exe \
  70.        $(EXEDIR)\fog.exe      \
  71.        $(EXEDIR)\fogindex.exe \
  72.        $(EXEDIR)\font.exe     \
  73.        $(EXEDIR)\light.exe    \
  74.        $(EXEDIR)\linelist.exe \
  75.        $(EXEDIR)\lines.exe    \
  76.        $(EXEDIR)\list.exe     \
  77.        $(EXEDIR)\list2.exe    \
  78.        $(EXEDIR)\maplight.exe \
  79.        $(EXEDIR)\material.exe \
  80.        $(EXEDIR)\mipmap.exe   \
  81.        $(EXEDIR)\model.exe    \
  82.        $(EXEDIR)\mvlight.exe  \
  83.        $(EXEDIR)\nurbs.exe    \
  84.        $(EXEDIR)\pickdpth.exe \
  85.        $(EXEDIR)\pickline.exe \
  86.        $(EXEDIR)\picksqr.exe  \
  87.        $(EXEDIR)\plane.exe    \
  88.        $(EXEDIR)\planet.exe   \
  89.        $(EXEDIR)\planetup.exe \
  90.        $(EXEDIR)\polys.exe    \
  91.        $(EXEDIR)\robot.exe    \
  92.        $(EXEDIR)\scene.exe    \
  93.        $(EXEDIR)\scnbamb.exe  \
  94.        $(EXEDIR)\scnflat.exe  \
  95.        $(EXEDIR)\scnlight.exe \
  96.        $(EXEDIR)\select.exe   \
  97.        $(EXEDIR)\simple.exe   \
  98.        $(EXEDIR)\smooth.exe   \
  99.        $(EXEDIR)\sphere.exe   \
  100.        $(EXEDIR)\stencil.exe  \
  101.        $(EXEDIR)\stroke.exe   \
  102.        $(EXEDIR)\surface.exe  \
  103.        $(EXEDIR)\tea.exe      \
  104.        $(EXEDIR)\teaamb.exe   \
  105.        $(EXEDIR)\teapots.exe  \
  106.        $(EXEDIR)\texgen.exe   \
  107.        $(EXEDIR)\texsurf.exe  \
  108.        $(EXEDIR)\trim.exe
  109.  
  110. #-------------------------------------------------------------------
  111. #   This section lists all files to be built by  make.  The
  112. #   makefile builds the executable as well as its associated help
  113. #   file.
  114. #-------------------------------------------------------------------
  115. all: $(EXES)
  116.  
  117. #-------------------------------------------------------------------
  118. #   Dependencies
  119. #     This section lists all object files needed to be built for the
  120. #     application, along with the files it is dependent upon (e.g.
  121. #     its source and any header files).
  122. #-------------------------------------------------------------------
  123.  
  124. $(EXES): $(OBJDIR)\$(@B).obj auxdemo.def
  125.    -$(CREATE_PATH)
  126.    $(LINK) $@ auxdemo.def $(MTLIBS) + $(OGLLIB) + $(AUXLIB) $(OBJDIR)\$(@B).obj
  127.  
  128. clean :
  129.         @if exist *.obj del *.obj
  130.         @if exist *.exe del *.exe
  131.