home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / TOOLKIT / OS2 / CONSOLIO / WORMS.MAK < prev    next >
Makefile  |  1994-11-17  |  3KB  |  90 lines

  1. #===================================================================
  2. #
  3. #  Worms Sample makefile
  4. #
  5. #  Copyright (C) 1991, 1994 IBM Corporation
  6. #
  7. #      DISCLAIMER OF WARRANTIES.  The following [enclosed] code is
  8. #      sample code created by IBM Corporation. This sample code is not
  9. #      part of any standard or IBM product and is provided to you solely
  10. #      for  the purpose of assisting you in the development of your
  11. #      applications.  The code is provided "AS IS", without
  12. #      warranty of any kind.  IBM shall not be liable for any damages
  13. #      arising out of your use of the sample code, even if they have been
  14. #      advised of the possibility of such damages.
  15. #
  16. #===================================================================
  17.  
  18. #
  19. # Comment out or delete the .inc file you don't want
  20. # IBMSAMP.INC - sets up for IBM/C2  Compiler
  21. #
  22. include ..\..\ibmsamp.inc
  23. HEADERS = worms.h wrmthrd.h
  24.  
  25. #===================================================================
  26. #
  27. #   A list of all of the object files
  28. #
  29. #===================================================================
  30.  
  31.  
  32. COBJ = worms.obj  wrmthrd.obj init.obj disp.obj wrmhelp.obj wmouse.obj
  33.  
  34.  
  35.  
  36. ALL_IPF =
  37.  
  38.  
  39. #-------------------------------------------------------------------
  40. #   This section lists all files to be built by the make.  The
  41. #   makefile builds the executible as well as its associated help
  42. #   file.
  43. #-------------------------------------------------------------------
  44. all: worms.exe
  45.  
  46.  
  47.  
  48. #-------------------------------------------------------------------
  49. #   This section creates the command file used by the linker.  This
  50. #   command file is recreated automatically every time you change
  51. #   the object file list, linker flags, or library list.
  52. #-------------------------------------------------------------------
  53. worms.lnk: worms.mak
  54.     echo $(COBJ)                > worms.lnk
  55.     echo worms.exe              >> worms.lnk
  56.     echo worms.map              >> worms.lnk
  57.     echo $(MTLIBS)               >> worms.lnk
  58.     echo worms.def;             >> worms.lnk
  59.  
  60.  
  61.  
  62.  
  63. #===================================================================
  64. #
  65. # Dependencies
  66. #
  67. #   This section lists all object files needed to be built for the
  68. #   application, along with the files it is dependent upon (e.g. its
  69. #   source and any header files).
  70. #
  71. #===================================================================
  72.  
  73.  
  74. worms.obj   : worms.c
  75.  
  76. wrmthrd.obj : wrmthrd.c
  77.  
  78. init.obj    : init.c
  79.  
  80. disp.obj    : disp.c
  81.  
  82. wrmhelp.obj : wrmhelp.c
  83.  
  84. wmouse.obj  : wmouse.c
  85.  
  86. worms.exe:  $(COBJ) worms.def worms.lnk
  87.     $(LINK) $(LFLAGS) @worms.lnk
  88.  
  89.  
  90.