home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c221 / 7.ddi / MWHC.007 / O6 < prev    next >
Encoding:
Text File  |  1991-10-24  |  1.5 KB  |  53 lines

  1. ################################################################
  2. #
  3. #   MakeFile for Microsoft SDK examples and the MetaWare
  4. #   Windows Application Development Kit.
  5. #
  6. #   The example program in this directory is Copyright 1990,
  7. #   Microsoft Corporation, and has been modified by MetaWare
  8. #   to operate under the MetaWare Windows ADK.
  9. #
  10. #
  11. #   Note:  This makefile includes vars.mak, which normally
  12. #          resides two directory levels up (..\..).  If you
  13. #          change the directory structure, or use a make 
  14. #          program that uses a different style include
  15. #          directive, you will have to modify the following 
  16. #          include statement.
  17. #
  18. ################################################################
  19.  
  20. !include ../../vars.mak
  21.  
  22. all: bitmap.exe bmcall16.exe 
  23.  
  24. bitmap.res: bitmap.rc bitmap.h dog.bmp cat.bmp
  25.     $(RC) -r bitmap.rc
  26.  
  27. bmcall16.obj: bitmap.c bitmap.h
  28.     $(HC) -c -Hwin -DCALL16 bitmap.c -o bmcall16.obj
  29.  
  30. bitmap.obj: bitmap.c bitmap.h
  31.     $(HC) -c -Hwin bitmap.c
  32.     
  33. select.obj: select.c select.h
  34.     $(HC) -c -Hwin select.c
  35.  
  36. bitmap.exp: bitmap.obj select.obj
  37.     $(HC) -Hwin bitmap select 
  38.  
  39. bmcall16.exp: bmcall16.obj 
  40.     $(HC) -Hwin bmcall16 
  41.  
  42. bitmap.exe: bitmap.res bitmap.exp
  43.     copy $(MWSUP) .
  44.     $(RC) -fe mwsup.exe bitmap.res
  45.     $(MWBIND) mwsup.exe bitmap.exp bitmap.exe
  46.     del mwsup.exe
  47.  
  48. bmcall16.exe: bitmap.res bmcall16.exp
  49.     copy $(MWSUP) .
  50.     $(RC) -fe mwsup.exe bitmap.res
  51.     $(MWBIND) mwsup.exe bmcall16.exp bmcall16.exe
  52.     del mwsup.exe
  53.