home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / sniff16.zip / TESTAPP / WORMS.MAK < prev    next >
Text File  |  1993-09-21  |  2KB  |  79 lines

  1. #===================================================================
  2. #
  3. #   Copyright 1991 IBM Corporation
  4. #
  5. #===================================================================
  6.  
  7. #
  8. # Comment out or delete the .inc file you don't want
  9. # IBMSAMP.INC - sets up for IBM/C2  Compiler
  10. #
  11. include .\ibmsamp.inc
  12. HEADERS = worms.h wrmthrd.h
  13.  
  14. #===================================================================
  15. #
  16. #   A list of all of the object files
  17. #
  18. #===================================================================
  19.  
  20.  
  21. COBJ = worms.obj  wrmthrd.obj init.obj disp.obj wrmhelp.obj wmouse.obj
  22.  
  23.  
  24.  
  25. ALL_IPF =
  26.  
  27.  
  28. #-------------------------------------------------------------------
  29. #   This section lists all files to be built by the make.  The
  30. #   makefile builds the executible as well as its associated help
  31. #   file.
  32. #-------------------------------------------------------------------
  33. all: worms.exe
  34.  
  35.  
  36.  
  37. #-------------------------------------------------------------------
  38. #   This section creates the command file used by the linker.  This
  39. #   command file is recreated automatically every time you change
  40. #   the object file list, linker flags, or library list.
  41. #-------------------------------------------------------------------
  42. worms.lnk: worms.mak
  43.     echo $(COBJ)                > worms.lnk
  44.     echo worms.exe              >> worms.lnk
  45.     echo worms.map              >> worms.lnk
  46.     echo $(MTLIBS)               >> worms.lnk
  47.     echo worms.def;             >> worms.lnk
  48.  
  49.  
  50.  
  51.  
  52. #===================================================================
  53. #
  54. # Dependencies
  55. #
  56. #   This section lists all object files needed to be built for the
  57. #   application, along with the files it is dependent upon (e.g. its
  58. #   source and any header files).
  59. #
  60. #===================================================================
  61.  
  62.  
  63. worms.obj   : worms.c
  64.  
  65. wrmthrd.obj : wrmthrd.c
  66.  
  67. init.obj    : init.c
  68.  
  69. disp.obj    : disp.c
  70.  
  71. wrmhelp.obj : wrmhelp.c
  72.  
  73. wmouse.obj  : wmouse.c
  74.  
  75. worms.exe:  $(COBJ) worms.def worms.lnk
  76.     $(LINK) $(LFLAGS) @worms.lnk
  77.  
  78.  
  79.