home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c221 / 7.ddi / MWHC.007 / P2 < prev    next >
Encoding:
Text File  |  1991-10-24  |  2.9 KB  |  124 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: about1.exe about2.exe about3.exe colors2.exe hexcalc.exe poppad3.exe   
  24.  
  25. about1.obj: about1.c about1.h
  26.     $(HC) -c -Hwin about1.c
  27.  
  28. about1.exp: about1.obj
  29.     $(HC) -Hwin about1
  30.  
  31. about1.res: about1.rc about1.h
  32.     $(RC) -r about1.rc
  33.  
  34. about1.exe: about1.exp about1.res
  35.     copy $(MWSUP)
  36.     $(RC) -fe mwsup.exe about1.res
  37.     $(MWBIND) mwsup.exe about1.exp
  38.     del mwsup.exe
  39.  
  40. about2.obj: about2.c about2.h
  41.     $(HC) -c -Hwin about2.c
  42.  
  43. about2.exp: about2.obj
  44.     $(HC) -Hwin about2
  45.  
  46. about2.res: about2.rc about2.h
  47.     $(RC) -r about2.rc
  48.  
  49. about2.exe: about2.exp about2.res
  50.     copy $(MWSUP)
  51.     $(RC) -fe mwsup.exe about2.res
  52.     $(MWBIND) mwsup.exe about2.exp
  53.     del mwsup.exe
  54.  
  55. about3.obj: about3.c about3.h
  56.     $(HC) -c -Hwin about3.c
  57.  
  58. about3.exp: about3.obj
  59.     $(HC) -Hwin about3
  60.  
  61. about3.res: about3.rc about3.h
  62.     $(RC) -r about3.rc
  63.  
  64. about3.exe: about3.exp about3.res
  65.     copy $(MWSUP)
  66.     $(RC) -fe mwsup.exe about3.res
  67.     $(MWBIND) mwsup.exe about3.exp
  68.     del mwsup.exe
  69.  
  70. colors2.obj: colors2.c 
  71.     $(HC) -c -Hwin colors2.c
  72.  
  73. colors2.exp: colors2.obj
  74.     $(HC) -Hwin colors2
  75.  
  76. colors2.res: colors2.rc
  77.     $(RC) -r colors2.rc
  78.  
  79. colors2.exe: colors2.exp colors2.res
  80.     copy $(MWSUP)
  81.     $(RC) -fe mwsup.exe colors2.res
  82.     $(MWBIND) mwsup.exe colors2.exp
  83.     del mwsup.exe
  84.  
  85. hexcalc.obj: hexcalc.c 
  86.     $(HC) -c -Hwin hexcalc.c
  87.  
  88. hexcalc.exp: hexcalc.obj
  89.     $(HC) -Hwin hexcalc
  90.  
  91. hexcalc.res : hexcalc.rc hexcalc.ico
  92.     $(RC) -r hexcalc.rc
  93.  
  94. hexcalc.exe: hexcalc.exp hexcalc.res
  95.     copy $(MWSUP)
  96.     $(RC) -fe mwsup.exe hexcalc.res
  97.     $(MWBIND) mwsup.exe hexcalc.exp
  98.     del mwsup.exe
  99.  
  100. poppadp0.obj: poppadp0.c poppad.h
  101.     $(HC) -c -Hwin poppadp0.c
  102.  
  103. poppad.obj: poppad.c poppad.h
  104.     $(HC) -c -Hwin poppad.c
  105.  
  106. poppadf.obj: poppadf.c
  107.     $(HC) -c -Hwin poppadf.c
  108.  
  109. filedlg.obj: filedlg.c filedlg.h
  110.     $(HC) -c -Hwin filedlg.c
  111.  
  112. poppad.res : poppad.rc poppad.h poppad.ico filedlg.dlg filedlg.h
  113.     $(RC) -r poppad.rc
  114.  
  115. poppad3.exp: poppad.obj poppadf.obj filedlg.obj poppadp0.obj
  116.     $(HC) -Hwin poppad poppadf filedlg poppadp0 -o poppad3
  117.  
  118. poppad3.exe: poppad3.exp poppad.res
  119.     copy $(MWSUP)
  120.     $(RC) -fe mwsup.exe poppad.res
  121.     $(MWBIND) mwsup.exe poppad3.exp
  122.     del mwsup.exe
  123.  
  124.