home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c221 / 7.ddi / MWHC.007 / 96 < prev    next >
Encoding:
Text File  |  1991-10-24  |  1.3 KB  |  51 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: ddepop.exe showpop.exe
  24.  
  25. ddepop.obj: ddepop.c
  26.     $(HC) -c -Hwin ddepop.c
  27.  
  28. ddepop.exp: ddepop.obj
  29.     $(HC) -Hwin ddepop
  30.  
  31. ddepop.res: ddepop.rc
  32.     $(RC) -r ddepop.rc
  33.  
  34. ddepop.exe: ddepop.exp ddepop.res
  35.     copy $(MWSUP)
  36.     $(RC) -fe mwsup.exe ddepop.res
  37.     $(MWBIND) mwsup.exe ddepop.exp
  38.     del mwsup.exe
  39.  
  40. showpop.obj: showpop.c
  41.     $(HC) -c -Hwin showpop.c
  42.  
  43. showpop.exp: showpop.obj
  44.     $(HC) -Hwin showpop
  45.  
  46. showpop.exe: showpop.exp
  47.     copy $(MWSUP)
  48.     $(RC) mwsup.exe
  49.     $(MWBIND) mwsup.exe showpop.exp
  50.     del mwsup.exe
  51.