home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic 4 Unleashed / Visual_Basic_4_Unleashed_SAMS_Publishing_1995.iso / tedevkit / make-bc < prev    next >
Text File  |  1995-06-20  |  3KB  |  100 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.  
  5. TER_SWITCHES = -WDE -mm! -c -N- -wdef -wuse -wnod -wsig -w-par -H
  6. TER_HDRS=TER.H TER1.H TER_DEF.H TER_HDR.H TER_CMD.H TER_PROT.H
  7.   
  8. #****************************************************************************
  9. #           Create the DEMO program using the TER DLL
  10. #****************************************************************************
  11.  
  12. DEMO.EXE:  DEMO.OBJ DEMO.RES DEMO.DEF
  13.         TLINK /Tw /c /s C0WM DEMO, DEMO.EXE, DEMO.MAP,IMPORT TER MATHWM CWM CM, DEMO.DEF
  14.         rc -L demo.res 
  15.  
  16. DEMO.OBJ: DEMO.C DEMO.H DEMO_DLG.H TER.H
  17.   BCC -W -mm -c -N- -wsig -w-par DEMO.C  
  18.  
  19. DEMO.RES: DEMO.RC DEMO_DLG.DLG DEMO_DLG.H DEMO.H
  20.     RC -r DEMO.RC 
  21.  
  22. #****************************************************************************
  23. #         Create the DEMO program using the TER CUSTOME CONTROL
  24. #****************************************************************************
  25. CTRL.EXE:  CTRL.OBJ CTRL.RES CTRL.DEF
  26.         TLINK /Tw /c /s C0WM CTRL, CTRL.EXE, CTRL.MAP,IMPORT MATHWM CWM CM TER, CTRL.DEF
  27.         rc -L CTRL.RES 
  28.  
  29. CTRL.OBJ: CTRL.C CTRL.H CTRL_DLG.H TER.H
  30.   BCC -W -mm -c -N- -wsig -w-par CTRL.C  
  31.  
  32. CTRL.RES: CTRL.RC CTRL_DLG.DLG CTRL_DLG.H CTRL.H
  33.     RC -r CTRL.RC 
  34.  
  35. #****************************************************************************
  36. #                       Create the TER DLL
  37. #****************************************************************************
  38. TER.DLL: $(TER_OBJECTS) TER.RES
  39.     tlink @tlink.ans
  40.     RC TER.RES TER.DLL 
  41.     implib TER.LIB TER.DLL
  42.  
  43. TER.RES: TER.RC TER1.H TER_CMD.H TER_DLG.DLG TER_DLG.H TER_*.BMP TER_*.CUR
  44.     rc -r TER.RC
  45.  
  46. TER.OBJ: TER.C $(TER_HDRS)
  47.   BCC $(TER_SWITCHES) TER.C  
  48.  
  49. TER1.OBJ: TER1.C $(TER_HDRS)
  50.   BCC $(TER_SWITCHES) TER1.C  
  51.  
  52. TER2.OBJ: TER2.C $(TER_HDRS)
  53.   BCC $(TER_SWITCHES) TER2.C  
  54.  
  55. TER3.OBJ: TER3.C $(TER_HDRS)
  56.   BCC $(TER_SWITCHES) TER3.C  
  57.  
  58. TER_INIT.OBJ: TER_INIT.C $(TER_HDRS)
  59.   BCC $(TER_SWITCHES) TER_INIT.C  
  60.  
  61. TER_IO.OBJ: TER_IO.C $(TER_HDRS)
  62.   BCC $(TER_SWITCHES) TER_IO.C  
  63.  
  64. TER_PAGE.OBJ: TER_PAGE.C $(TER_HDRS)
  65.   BCC $(TER_SWITCHES) TER_PAGE.C  
  66.  
  67. TER_RTF.OBJ: TER_RTF.C $(TER_HDRS)
  68.   BCC $(TER_SWITCHES) TER_RTF.C  
  69.  
  70. TER_RTF1.OBJ: TER_RTF1.C $(TER_HDRS)
  71.   BCC $(TER_SWITCHES) TER_RTF1.C  
  72.  
  73. TER_BLK.OBJ: TER_BLK.C $(TER_HDRS)
  74.   BCC $(TER_SWITCHES) TER_BLK.C  
  75.  
  76. TER_CTL.OBJ: TER_CTL.C $(TER_HDRS)
  77.   BCC $(TER_SWITCHES) TER_CTL.C  
  78.  
  79. TER_BAR.OBJ: TER_BAR.C $(TER_HDRS)
  80.   BCC $(TER_SWITCHES) TER_BAR.C  
  81.  
  82. TER_FMT.OBJ: TER_FMT.C $(TER_HDRS)
  83.   BCC $(TER_SWITCHES) TER_FMT.C  
  84.  
  85. TER_DLG.OBJ: TER_DLG.C $(TER_HDRS) TER_DLG.DLG
  86.   BCC $(TER_SWITCHES) TER_DLG.C  
  87.  
  88. TER_OLE.OBJ: TER_OLE.C TER_OLE1.H TER_OLE2.H $(TER_HDRS)
  89.   BCC $(TER_SWITCHES) TER_OLE.C  
  90.  
  91. TER_DRAG.OBJ: TER_DRAG.C $(TER_HDRS)
  92.   BCC $(TER_SWITCHES) TER_DRAG.C  
  93.  
  94. TER_TBL.OBJ: TER_TBL.C $(TER_HDRS)
  95.   BCC $(TER_SWITCHES) TER_TBL.C  
  96.  
  97. TER_MISC.OBJ: TER_MISC.C $(TER_HDRS)
  98.   BCC $(TER_SWITCHES) TER_MISC.C  
  99.  
  100.