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