home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c221 / 7.ddi / MWHC.007 / 71 < prev    next >
Encoding:
Text File  |  1991-10-24  |  1.8 KB  |  69 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: poepoem.exe resourc1.exe resourc2.exe    
  24.  
  25. poepoem.obj: poepoem.c poepoem.h
  26.     $(HC) -c -Hwin poepoem.c
  27.     
  28. poepoem.exp: poepoem.obj 
  29.     $(HC) -Hwin poepoem
  30.  
  31. poepoem.res: poepoem.rc poepoem.h
  32.     $(RC) -r poepoem.rc
  33.  
  34. poepoem.exe: poepoem.exp poepoem.res
  35.     copy $(MWSUP)
  36.     $(RC) -fe mwsup.exe poepoem.res
  37.     $(MWBIND) mwsup.exe poepoem.exp 
  38.     del mwsup.exe
  39.  
  40. resourc1.obj: resourc1.c 
  41.     $(HC) -c -Hwin resourc1.c
  42.     
  43. resourc1.exp: resourc1.obj 
  44.     $(HC) -Hwin resourc1
  45.  
  46. resourc1.res: resourc1.rc 
  47.     $(RC) -r resourc1.rc
  48.  
  49. resourc1.exe: resourc1.exp resourc1.res
  50.     copy $(MWSUP)
  51.     $(RC) -fe mwsup.exe resourc1.res
  52.     $(MWBIND) mwsup.exe resourc1.exp 
  53.     del mwsup.exe
  54.  
  55. resourc2.obj: resourc2.c 
  56.     $(HC) -c -Hwin resourc2.c
  57.     
  58. resourc2.exp: resourc2.obj 
  59.     $(HC) -Hwin resourc2
  60.  
  61. resourc2.res: resourc2.rc 
  62.     $(RC) -r resourc2.rc
  63.  
  64. resourc2.exe: resourc2.exp resourc2.res
  65.     copy $(MWSUP)
  66.     $(RC) -fe mwsup.exe resourc2.res
  67.     $(MWBIND) mwsup.exe resourc2.exp 
  68.     del mwsup.exe
  69.