home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c221 / 7.ddi / MWHC.007 / W < prev    next >
Encoding:
Text File  |  1991-10-24  |  1.5 KB  |  61 lines

  1. ################################################################
  2. #
  3. #   MakeFile for Petzold examples and the MetaWare Windows 
  4. #   Application Development Kit.
  5. #
  6. #   The example program in this directory is Copyright 1990,
  7. #   Charles Petzold.  Any source code modifications required 
  8. #   to operate under the MetaWare Windows ADK have been 
  9. #   conditionalized with the __HIGHC__ macro.
  10. #
  11. #
  12. #   Note:  This makefile includes vars.make, which normally
  13. #          resides two directory levels up (..\..).  If you
  14. #          change the directory structure, or use a make 
  15. #          program that uses a different style include
  16. #          directive, you will have to modify the following 
  17. #          include statement.
  18. #
  19. ################################################################
  20.  
  21. !include ../../vars.mak
  22.  
  23. all: sysmets1.exe sysmets2.exe sysmets3.exe
  24.  
  25. sysmets1.obj: sysmets1.c sysmets.h
  26.     $(HC) -c -Hwin sysmets1.c
  27.  
  28. sysmets1.exp: sysmets1.obj
  29.     $(HC) -Hwin sysmets1
  30.  
  31. sysmets1.exe: sysmets1.exp 
  32.     copy $(MWSUP)
  33.     $(RC) mwsup.exe
  34.     $(MWBIND) mwsup.exe sysmets1.exp
  35.     del mwsup.exe
  36.  
  37. sysmets2.obj: sysmets2.c sysmets.h
  38.     $(HC) -c -Hwin sysmets2.c
  39.  
  40. sysmets2.exp: sysmets2.obj
  41.     $(HC) -Hwin sysmets2
  42.  
  43. sysmets2.exe: sysmets2.exp
  44.     copy $(MWSUP)
  45.     $(RC) mwsup.exe
  46.     $(MWBIND) mwsup.exe sysmets2.exp
  47.     del mwsup.exe
  48.  
  49. sysmets3.obj: sysmets3.c sysmets.h
  50.     $(HC) -c -Hwin sysmets3.c
  51.  
  52. sysmets3.exp: sysmets3.obj
  53.     $(HC) -Hwin sysmets3
  54.  
  55. sysmets3.exe: sysmets3.exp
  56.     copy $(MWSUP)
  57.     $(RC) mwsup.exe
  58.     $(MWBIND) mwsup.exe sysmets3.exp
  59.     del mwsup.exe
  60.  
  61.