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

  1. #==============================================================================
  2. #
  3. #  Jigsaw Sample Makefile
  4. #
  5. #  Copyright (C) 1992, 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. include ..\..\ibmsamp.inc
  19.  
  20. HEADERS =  globals.h jigsaw.h jighelp.h
  21.  
  22. #===================================================================
  23. #
  24. #   A list of all of the object files
  25. #
  26. #===================================================================
  27. OBJECTS = jigsaw.obj jighelp.obj procs.obj misc.obj globals.obj
  28.  
  29. #===================================================================
  30. #
  31. #   A list of all of the Help files
  32. #
  33. #===================================================================
  34. IPFS = jigsaw.ipf
  35.  
  36. #===================================================================
  37. #
  38. #   Dependencies
  39. #
  40. #===================================================================
  41.  
  42. all: jigsaw.exe jigsaw.hlp
  43.  
  44. jigsaw.lnk: jigsaw.mak
  45.     echo $(OBJECTS)           > jigsaw.lnk
  46.     echo jigsaw.exe           >> jigsaw.lnk
  47.     echo jigsaw.map           >> jigsaw.lnk
  48.     echo $(MTLIBS)            >> jigsaw.lnk
  49.     echo jigsaw.def           >> jigsaw.lnk
  50.  
  51. jigsaw.res: jigsaw.rc jigsaw.h jigsaw.ico jighelp.rc jigsaw.dlg
  52.         copy ..\..\prodinfo.bmp
  53.         rc -r jigsaw.rc
  54.         del prodinfo.bmp
  55.  
  56. jigsaw.obj: jigsaw.c $(HEADERS)
  57.  
  58. jighelp.obj: jighelp.c $(HEADERS)
  59.  
  60. procs.obj: procs.c $(HEADERS)
  61.  
  62. misc.obj: misc.c $(HEADERS)
  63.  
  64. globals.obj: globals.c $(HEADERS)
  65.  
  66. jigsaw.hlp: $(IPFS)
  67.  
  68. jigsaw.exe: $(OBJECTS) jigsaw.def jigsaw.lnk jigsaw.res jigsaw.mak
  69.     $(LINK) @jigsaw.lnk
  70.     rc -p -x jigsaw.res jigsaw.exe
  71.