home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic 4 Unleashed / Visual_Basic_4_Unleashed_SAMS_Publishing_1995.iso / tedevkit / make-mc < prev    next >
Text File  |  1995-09-05  |  4KB  |  108 lines

  1. ALL: TER.DLL DEMO.EXE CTRL.EXE
  2.  
  3. TER_OBJECTS=TER.OBJ TER1.OBJ TER2.OBJ TER3.OBJ TER_INIT.OBJ TER_IO.OBJ TER_PAGE.OBJ TER_RTF.OBJ TER_RTF1.OBJ TER_BLK.OBJ TER_FMT.OBJ TER_CTL.OBJ TER_BAR.OBJ TER_DLG.OBJ TER_OLE.OBJ TER_DRAG.OBJ TER_TBL.OBJ TER_MISC.OBJ
  4. TER_SWITCHES=-c -AMw -GD -Zp /W3
  5. TER_HDRS=TER.H TER1.H TER_DEF.H TER_HDR.H TER_CMD.H TER_DLG.DLG TER_PROT.H
  6.  
  7. CAPTURE=>> team.cap
  8.  
  9. #****************************************************************************
  10. #             Create the DEMO program using the TER DLL
  11. #****************************************************************************
  12.  
  13. DEMO.EXE: DEMO.OBJ DEMO.RES DEMO.DEF
  14.     LINK /NOD DEMO, DEMO.EXE, DEMO.MAP, MLIBCEW LIBW OLDNAMES COMMDLG TER, DEMO.DEF
  15.     RC -L DEMO.RES 
  16.  
  17. DEMO.RES: DEMO.RC DEMO_DLG.DLG DEMO_DLG.H DEMO.H TER.H
  18.     RC -r DEMO.RC $(CAPTURE)
  19.  
  20. DEMO.OBJ: DEMO.C DEMO.H TER.H
  21.     CL -c -AM -GA -Oas -Zpe -NT DEMO DEMO.C  $(CAPTURE)
  22.  
  23. #****************************************************************************
  24. #             Create the DEMO program using the TER CUSTOM CONTROL
  25. #****************************************************************************
  26.  
  27. CTRL.EXE: CTRL.OBJ CTRL.RES
  28.     LINK /NOD CTRL, CTRL.EXE, CTRL.MAP, MLIBCEW LIBW OLDNAMES COMMDLG TER, CTRL.DEF
  29.     RC -L CTRL.RES 
  30.  
  31. CTRL.RES: CTRL.RC CTRL_DLG.DLG CTRL_DLG.H CTRL.H TER.H
  32.     RC -r CTRL.RC $(CAPTURE)
  33.  
  34. CTRL.OBJ: CTRL.C CTRL.H TER.H
  35.     CL -c -AM -GA -Oas -Zpe -NT CTRL CTRL.C  $(CAPTURE)
  36.  
  37. #****************************************************************************
  38. #                      Create the TER DLL
  39. #    The /DTERDLL instructs the modules to take actions specific to DLL.
  40. #    Remove this switch if you are not building a DLL.
  41. #****************************************************************************
  42.  
  43. TER.DLL: $(TER_OBJECTS) TER.RES TER.HLP
  44.     LINK /NOD /NOE @MLINK.ANS 
  45.     IMPLIB TER.LIB TER.DLL
  46.     RC -K TER.RES TER.DLL 
  47.  
  48. TER.RES: TER.RC TER1.H TER_CMD.H TER_DLG.DLG TER_DLG.H TER_*.BMP TER_*.CUR
  49.     rc -r TER.RC
  50.  
  51. TER.OBJ: TER.C $(TER_HDRS)
  52.     CL $(TER_SWITCHES) TER.C   $(CAPTURE)
  53.  
  54. TER1.OBJ: TER1.C $(TER_HDRS)
  55.     CL $(TER_SWITCHES) TER1.C   $(CAPTURE)
  56.  
  57. TER2.OBJ: TER2.C $(TER_HDRS)
  58.     CL $(TER_SWITCHES) TER2.C   $(CAPTURE)
  59.  
  60. TER3.OBJ: TER3.C $(TER_HDRS)
  61.     CL $(TER_SWITCHES) TER3.C   $(CAPTURE)
  62.  
  63. TER_INIT.OBJ: TER_INIT.C $(TER_HDRS)
  64.     CL $(TER_SWITCHES) TER_INIT.C   $(CAPTURE)
  65.  
  66. TER_PAGE.OBJ: TER_PAGE.C $(TER_HDRS)
  67.     CL $(TER_SWITCHES) TER_PAGE.C   $(CAPTURE)
  68.  
  69. TER_IO.OBJ: TER_IO.C $(TER_HDRS)
  70.     CL $(TER_SWITCHES) TER_IO.C   $(CAPTURE)
  71.  
  72. TER_RTF.OBJ: TER_RTF.C $(TER_HDRS)
  73.     CL $(TER_SWITCHES) TER_RTF.C   $(CAPTURE)
  74.  
  75. TER_RTF1.OBJ: TER_RTF1.C $(TER_HDRS)
  76.     CL $(TER_SWITCHES) TER_RTF1.C   $(CAPTURE)
  77.  
  78. TER_BLK.OBJ: TER_BLK.C $(TER_HDRS)
  79.     CL $(TER_SWITCHES) TER_BLK.C   $(CAPTURE)
  80.  
  81. TER_FMT.OBJ: TER_FMT.C $(TER_HDRS)
  82.     CL $(TER_SWITCHES) TER_FMT.C   $(CAPTURE)
  83.  
  84. TER_CTL.OBJ: TER_CTL.C $(TER_HDRS)
  85.     CL $(TER_SWITCHES) TER_CTL.C   $(CAPTURE)
  86.  
  87. TER_BAR.OBJ: TER_BAR.C $(TER_HDRS)
  88.     CL $(TER_SWITCHES) TER_BAR.C   $(CAPTURE)
  89.  
  90. TER_DLG.OBJ: TER_DLG.C $(TER_HDRS)
  91.     CL $(TER_SWITCHES) TER_DLG.C   $(CAPTURE)
  92.  
  93. TER_OLE.OBJ: TER_OLE.C TER_OLE1.H TER_OLE2.H $(TER_HDRS)
  94.     CL $(TER_SWITCHES) TER_OLE.C   $(CAPTURE)
  95.  
  96. TER_DRAG.OBJ: TER_DRAG.C $(TER_HDRS)
  97.     CL $(TER_SWITCHES) TER_DRAG.C   $(CAPTURE)
  98.  
  99. TER_TBL.OBJ: TER_TBL.C $(TER_HDRS)
  100.     CL $(TER_SWITCHES) TER_TBL.C   $(CAPTURE)
  101.  
  102. TER_MISC.OBJ: TER_MISC.C $(TER_HDRS)
  103.     CL $(TER_SWITCHES) TER_MISC.C   $(CAPTURE)
  104.  
  105. TER.HLP: TER.RTF TER_CMD.H
  106.     HC TER.HPJ 
  107.  
  108.