home *** CD-ROM | disk | FTP | other *** search
/ The Developer Connection…ice Driver Kit for OS/2 3 / DEV3-D1.ISO / devtools / os2tk21j / c / samples / eas / eas.ma_ / eas.mak
Encoding:
Makefile  |  1993-03-12  |  2.2 KB  |  67 lines

  1. #===================================================================
  2. #
  3. #   EAS.MAK - EAS Application Make file
  4. #   (C) Copyright IBM Corporation 1992.
  5. #
  6. #===================================================================
  7.  
  8. #-------------------------------------------------------------------
  9. #   IBMSAMP.INC - sets up for IBM Compiler
  10. #-------------------------------------------------------------------
  11. include ..\ibmsamp.inc
  12.  
  13. HEADERS = eas.h
  14.  
  15. #===================================================================
  16. #
  17. #   A list of all of the object files
  18. #
  19. #===================================================================
  20. ALL_OBJS = eas.obj easea.obj easfile.obj easinit.obj eashelp.obj
  21.  
  22. ALL_IPF = eas.ipf
  23.  
  24. #-------------------------------------------------------------------
  25. #   This section lists all files to be built by the make.  The
  26. #   makefile builds the executible as well as its associated help
  27. #   file.
  28. #-------------------------------------------------------------------
  29. all: eas.exe eas.hlp
  30.  
  31. #-------------------------------------------------------------------
  32. #   This section creates the command file used by the linker.  This
  33. #   command file is recreated automatically every time you change
  34. #   the object file list, linker flags, or library list.
  35. #-------------------------------------------------------------------
  36. eas.lnk: eas.mak
  37.     echo $(ALL_OBJS)             > eas.lnk
  38.     echo eas.exe                >> eas.lnk
  39.     echo eas.map                >> eas.lnk
  40.     echo $(MTLIBS)              >> eas.lnk
  41.     echo eas.def                >> eas.lnk
  42.  
  43. #-------------------------------------------------------------------
  44. #   Dependencies
  45. #     This section lists all object files needed to be built for the
  46. #     application, along with the files it is dependent upon (e.g.
  47. #     its source and any header files).
  48. #-------------------------------------------------------------------
  49. eas.res: eas.rc $(HEADERS) eas.ico eas.dlg
  50.  
  51. eas.hlp: $(ALL_IPF)
  52.  
  53. eas.obj: eas.c $(HEADERS)
  54.  
  55. easea.obj: easea.c $(HEADERS)
  56.  
  57. easfile.obj: easfile.c $(HEADERS)
  58.  
  59. easinit.obj: easinit.c $(HEADERS)
  60.  
  61. eashelp.obj: eashelp.c $(HEADERS)
  62.  
  63. eas.exe: $(ALL_OBJS) eas.res eas.def eas.lnk
  64.     $(LINK) @eas.lnk
  65.     rc -p -x eas.res eas.exe
  66.  
  67.