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