home *** CD-ROM | disk | FTP | other *** search
/ The Developer Connection…ice Driver Kit for OS/2 3 / DEV3-D1.ISO / devtools / toolkt21 / c / samples / vmm / vmm.mak < prev    next >
Encoding:
Makefile  |  1993-03-12  |  2.3 KB  |  67 lines

  1. #===================================================================
  2. #
  3. #   VMM.MAK - VMM 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 = vmm.h
  14.  
  15. #===================================================================
  16. #
  17. #   A list of all of the object files
  18. #
  19. #===================================================================
  20. ALL_OBJS = vmm_main.obj vmm_init.obj vmm_dlg.obj \
  21.            vmm_user.obj vmm_help.obj
  22. ALL_IPF = vmm.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: vmm.exe vmm.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. vmm.lnk: vmm.mak
  37.     echo $(ALL_OBJS)             > vmm.lnk
  38.     echo vmm.exe                >> vmm.lnk
  39.     echo vmm.map                >> vmm.lnk
  40.     echo $(MTLIBS)              >> vmm.lnk
  41.     echo vmm.def                >> vmm.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. vmm.res: vmm.rc $(HEADERS) vmm.dlg vmm.ico
  50.  
  51. vmm.hlp: $(ALL_IPF)
  52.  
  53. vmm_main.obj: vmm_main.c $(HEADERS)
  54.  
  55. vmm_user.obj: vmm_user.c $(HEADERS)
  56.  
  57. vmm_init.obj: vmm_init.c $(HEADERS)
  58.  
  59. vmm_dlg.obj: vmm_dlg.c $(HEADERS)
  60.  
  61. vmm_help.obj: vmm_help.c $(HEADERS)
  62.  
  63. vmm.exe: $(ALL_OBJS) vmm.def vmm.res vmm.lnk
  64.     $(LINK) @vmm.lnk
  65.     rc -p -x vmm.res vmm.exe
  66.  
  67.