home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 5 / FreshFish_July-August1994.bin / bbs / util / vim-2.0.lha / Vim-2.0 / src / makefile.bcc < prev    next >
Encoding:
Makefile  |  1993-12-12  |  3.6 KB  |  224 lines

  1. #
  2. # Makefile for Borland C++ 2.0
  3. # Can also be used for Turbo C++
  4. #
  5. # The options are at the end of this file
  6. #
  7.  
  8. .AUTODEPEND
  9.  
  10. #        *Translator Definitions*
  11. #   use tcc for Turbo C++
  12. CC = bcc +VIM.CFG
  13. #CC = tcc +VIM.CFG
  14. TASM = TASM
  15. TLIB = tlib
  16. TLINK = tlink
  17. #
  18. # Adjust the paths for your environment
  19. #
  20. LIBPATH = E:\BORLANDC\LIB
  21. INCLUDEPATH = E:\BORLANDC\INCLUDE
  22.  
  23.  
  24. #        *Implicit Rules*
  25. .c.obj:
  26.   $(CC) -c {$< }
  27.  
  28. .cpp.obj:
  29.   $(CC) -c {$< }
  30.  
  31. #        *List Macros*
  32.  
  33.  
  34. EXE_dependencies =  \
  35.  alloc.obj \
  36.  buffers.obj \
  37.  charset.obj \
  38.  cmdline.obj \
  39.  csearch.obj \
  40.  digraph.obj \
  41.  edit.obj \
  42.  fileio.obj \
  43.  help.obj \
  44.  linefunc.obj \
  45.  main.obj \
  46.  mark.obj \
  47.  message.obj \
  48.  misccmds.obj \
  49.  msdos.obj \
  50.  normal.obj \
  51.  ops.obj \
  52.  param.obj \
  53.  quickfix.obj \
  54.  regexp.obj \
  55.  regsub.obj \
  56.  screen.obj \
  57.  script.obj \
  58.  search.obj \
  59.  storage.obj \
  60.  tag.obj \
  61.  term.obj \
  62.  undo.obj \
  63.  version.obj
  64.  
  65. #        *Explicit Rules*
  66. #  add /v for source degubbing
  67. vim.exe: vim.cfg $(EXE_dependencies)
  68.   $(CC) -c version.c
  69.   $(TLINK) /x/c/L$(LIBPATH) @&&|
  70. c0l.obj+
  71. alloc.obj+
  72. buffers.obj+
  73. charset.obj+
  74. cmdline.obj+
  75. csearch.obj+
  76. digraph.obj+
  77. edit.obj+
  78. fileio.obj+
  79. help.obj+
  80. linefunc.obj+
  81. main.obj+
  82. mark.obj+
  83. message.obj+
  84. misccmds.obj+
  85. msdos.obj+
  86. normal.obj+
  87. ops.obj+
  88. param.obj+
  89. quickfix.obj+
  90. regexp.obj+
  91. regsub.obj+
  92. screen.obj+
  93. script.obj+
  94. search.obj+
  95. storage.obj+
  96. tag.obj+
  97. term.obj+
  98. undo.obj+
  99. version.obj
  100. vim
  101.         # no map file
  102. fp87.lib+
  103. mathl.lib+
  104. cl.lib
  105. |
  106.  
  107.  
  108. #        *Individual File Dependencies*
  109. alloc.obj: alloc.c 
  110.  
  111. buffers.obj: buffers.c 
  112.  
  113. charset.obj: charset.c 
  114.  
  115. cmdline.obj: cmdline.c cmdtab.h
  116.  
  117. cmdtab.h: cmdtab.tab mkcmdtab.exe
  118.     mkcmdtab cmdtab.tab cmdtab.h
  119.  
  120. mkcmdtab.exe: mkcmdtab.obj
  121.     $(CC) -ml -omkcmdtab mkcmdtab.obj
  122.  
  123. mkcmdtab.obj: mkcmdtab.c
  124.     $(CC) $(CFLAGS) mkcmdtab.c
  125.  
  126. csearch.obj: csearch.c 
  127.  
  128. digraph.obj: digraph.c 
  129.  
  130. edit.obj: edit.c 
  131.  
  132. fileio.obj: fileio.c 
  133.  
  134. help.obj: help.c 
  135.  
  136. linefunc.obj: linefunc.c 
  137.  
  138. main.obj: main.c globals.h param.h
  139.  
  140. mark.obj: mark.c mark.h
  141.  
  142. message.obj: message.c 
  143.  
  144. misccmds.obj: misccmds.c 
  145.  
  146. msdos.obj: msdos.c 
  147.  
  148. normal.obj: normal.c ops.h
  149.  
  150. ops.obj: ops.c ops.h
  151.  
  152. param.obj: param.c 
  153.  
  154. quickfix.obj: quickfix.c 
  155.  
  156. regexp.obj: regexp.c 
  157.  
  158. regsub.obj: regsub.c 
  159.  
  160. screen.obj: screen.c 
  161.  
  162. script.obj: script.c 
  163.  
  164. search.obj: search.c 
  165.  
  166. storage.obj: storage.c 
  167.  
  168. tag.obj: tag.c mark.h
  169.  
  170. term.obj: term.c term.h
  171.  
  172. undo.obj: undo.c 
  173.  
  174. version.obj: version.c 
  175.  
  176. #        *Compiler Configuration File*
  177. # The following compile options can be changed for better machines.
  178. #    replace -1- with -2 to produce code for a 80286 or higher
  179. #    replace -1- with -3 to produce code for a 80386 or higher
  180. #    add -v for source debugging
  181. vim.cfg: makefile
  182.   copy &&|
  183. -ml
  184. -1-
  185. -f-
  186. -C
  187. -N
  188. -O
  189. -Z
  190. -k-
  191. -d
  192. -h
  193. -vi-
  194. -H=VIM.SYM
  195. -w-par
  196. -w-pro
  197. -weas
  198. -wpre
  199. -I$(INCLUDEPATH)
  200. -L$(LIBPATH)
  201. -DPC;MSDOS;DIGRAPHS
  202. | vim.cfg
  203.  
  204. #
  205. # options:
  206. ### -DDIGRAPHS        digraph support (at the cost of 1.6 Kbyte code)
  207. ### -DNO_ARP        do not use arp.library, DOS 2.0 required
  208. ### -DCOMPATIBLE    start in vi-compatible mode
  209. ### -DNOBACKUP        default is no backup file
  210. ### -DDEBUG        output a lot of debugging garbage
  211. ### -DTERMCAP        include termcap file support
  212. ### -DNO_BUILTIN_TCAPS    do not include builtin termcap entries
  213. ###                (use only with -DTERMCAP)
  214. ### -DSOME_BUILTIN_TCAPS include most useful builtin termcap entries
  215. ###                (use only without -DNO_BUILTIN_TCAPS)
  216. ### -DALL_BUILTIN_TCAPS    include all builtin termcap entries
  217. ###                (use only without -DNO_BUILTIN_TCAPS)
  218. ### -DVIMRC_FILE    name of the .vimrc file in current dir
  219. ### -DEXRC_FILE        name of the .exrc file in current dir
  220. ### -DSYSVIMRC_FILE    name of the global .vimrc file
  221. ### -DSYSEXRC_FILE    name of the global .exrc file
  222. ### -DDEFVIMRC_FILE    name of the system-wide .vimrc file
  223. ### -DVIM_HLP        name of the help file
  224.