home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c221 / 7.ddi / MWHC.007 / H6 < prev    next >
Encoding:
Text File  |  1991-10-24  |  1.1 KB  |  39 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: mdidemo.exe
  24.  
  25. mdidemo.obj: mdidemo.c mdidemo.h
  26.     $(HC) -c -Hwin mdidemo.c
  27.  
  28. mdidemo.exp: mdidemo.obj
  29.     $(HC) -Hwin mdidemo
  30.  
  31. mdidemo.res: mdidemo.rc mdidemo.h
  32.     $(RC) -r mdidemo.rc
  33.  
  34. mdidemo.exe: mdidemo.exp mdidemo.res
  35.     copy $(MWSUP)
  36.     $(RC) -fe mwsup.exe mdidemo.res
  37.     $(MWBIND) mwsup.exe mdidemo.exp
  38.     del mwsup.exe
  39.