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

  1. #===================================================================
  2. #
  3. #   EAS.MAK - EAS Application Make file
  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. #-------------------------------------------------------------------
  19. #   IBMSAMP.INC - sets up for IBM Compiler
  20. #-------------------------------------------------------------------
  21. include ..\..\ibmsamp.inc
  22.  
  23. HEADERS = eas.h
  24.  
  25. #===================================================================
  26. #
  27. #   A list of all of the object files
  28. #
  29. #===================================================================
  30. ALL_OBJS = eas.obj easea.obj easfile.obj easinit.obj eashelp.obj
  31.  
  32. ALL_IPF = eas.ipf
  33.  
  34. #-------------------------------------------------------------------
  35. #   This section lists all files to be built by the make.  The
  36. #   makefile builds the executible as well as its associated help
  37. #   file.
  38. #-------------------------------------------------------------------
  39. all: eas.exe eas.hlp
  40.  
  41. #-------------------------------------------------------------------
  42. #   This section creates the command file used by the linker.  This
  43. #   command file is recreated automatically every time you change
  44. #   the object file list, linker flags, or library list.
  45. #-------------------------------------------------------------------
  46. eas.lnk: eas.mak
  47.     echo $(ALL_OBJS)             > eas.lnk
  48.     echo eas.exe                >> eas.lnk
  49.     echo eas.map                >> eas.lnk
  50.     echo $(MTLIBS)              >> eas.lnk
  51.     echo eas.def                >> eas.lnk
  52.  
  53. #-------------------------------------------------------------------
  54. #   Dependencies
  55. #     This section lists all object files needed to be built for the
  56. #     application, along with the files it is dependent upon (e.g.
  57. #     its source and any header files).
  58. #-------------------------------------------------------------------
  59. eas.res: eas.rc $(HEADERS) eas.ico eas.dlg
  60.          copy ..\..\prodinfo.bmp
  61.          rc -r eas.rc
  62.          del prodinfo.bmp
  63.  
  64. eas.hlp: $(ALL_IPF)
  65.  
  66. eas.obj: eas.c $(HEADERS)
  67.  
  68. easea.obj: easea.c $(HEADERS)
  69.  
  70. easfile.obj: easfile.c $(HEADERS)
  71.  
  72. easinit.obj: easinit.c $(HEADERS)
  73.  
  74. eashelp.obj: eashelp.c $(HEADERS)
  75.  
  76. eas.exe: $(ALL_OBJS) eas.res eas.def eas.lnk
  77.     $(LINK) @eas.lnk
  78.     rc -p -x eas.res eas.exe
  79.  
  80.