home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / amiga / vim46src.lha / vim-4.6 / src / makefile.bcc < prev    next >
Encoding:
Makefile  |  1996-09-15  |  3.8 KB  |  249 lines

  1. #
  2. # Makefile for Borland C++ 2.0, 3.1 or 4.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. # use the first two if you don't have the spawno library
  20. #    then also remove the SPAWNO define further down and the line
  21. #    with spawnl.lib
  22. #
  23. #LIBPATH = C:\BC4\LIB
  24. #INCLUDEPATH = C:\BC4\INCLUDE
  25. LIBPATH = E:\BC4\LIB;C:\CC\SPAWN
  26. INCLUDEPATH = E:\BC4\INCLUDE;C:\CC\SPAWN
  27.  
  28.  
  29. #        *Implicit Rules*
  30. #
  31. # use -v for debugging
  32. #
  33. .c.obj:
  34.   $(CC) -c {$< }
  35. #  $(CC) -c -v {$< }
  36.  
  37. #        *List Macros*
  38.  
  39.  
  40. EXE_dependencies =  \
  41.  alloc.obj \
  42.  buffer.obj \
  43.  charset.obj \
  44.  cmdcmds.obj \
  45.  cmdline.obj \
  46.  csearch.obj \
  47.  digraph.obj \
  48.  edit.obj \
  49.  fileio.obj \
  50.  getchar.obj \
  51.  help.obj \
  52.  linefunc.obj \
  53.  main.obj \
  54.  mark.obj \
  55.  memfile.obj \
  56.  memline.obj \
  57.  message.obj \
  58.  misccmds.obj \
  59.  msdos.obj \
  60.  normal.obj \
  61.  ops.obj \
  62.  option.obj \
  63.  quickfix.obj \
  64.  regexp.obj \
  65.  regsub.obj \
  66.  screen.obj \
  67.  search.obj \
  68.  tables.obj \
  69.  tag.obj \
  70.  term.obj \
  71.  undo.obj \
  72.  window.obj \
  73.  version.obj
  74.  
  75. all: vim.exe ctags/ctags.exe xxd/xxd.exe
  76.  
  77. #        *Explicit Rules*
  78. #  add /v to TLINK for debugging
  79. vim.exe: vim.cfg $(EXE_dependencies)
  80.   $(CC) -c version.c
  81.   $(TLINK) /x/c/L$(LIBPATH) @&&|
  82. c0l.obj+
  83. alloc.obj+
  84. buffer.obj+
  85. charset.obj+
  86. cmdcmds.obj+
  87. cmdline.obj+
  88. csearch.obj+
  89. digraph.obj+
  90. edit.obj+
  91. fileio.obj+
  92. getchar.obj+
  93. help.obj+
  94. linefunc.obj+
  95. main.obj+
  96. mark.obj+
  97. memfile.obj+
  98. memline.obj+
  99. message.obj+
  100. misccmds.obj+
  101. msdos.obj+
  102. normal.obj+
  103. ops.obj+
  104. option.obj+
  105. quickfix.obj+
  106. regexp.obj+
  107. regsub.obj+
  108. screen.obj+
  109. search.obj+
  110. tables.obj+
  111. tag.obj+
  112. term.obj+
  113. undo.obj+
  114. window.obj+
  115. version.obj
  116. vim
  117.         # no map file
  118. fp87.lib+
  119. mathl.lib+
  120. spawnl.lib+
  121. cl.lib
  122. |
  123.  
  124. ctags/ctags.exe: ctags/ctags.c
  125.     cd ctags
  126.     copy makefile.bcc makefile
  127.     $(MAKE)
  128.     cd ..
  129.  
  130. xxd/xxd.exe: xxd/xxd.c
  131.     cd xxd
  132.     copy makefile.bcc makefile
  133.     $(MAKE)
  134.     cd ..
  135.  
  136.  
  137. # cleaning up
  138. clean:
  139.     -del *.obj
  140.     -del *.exe
  141.     -del cmdtab.h
  142.     -del ctags\ctags.obj
  143.     -del ctags\ctags.exe
  144.     -del xxd\xxd.obj
  145.     -del xxd\xxd.exe
  146.  
  147. #        *Individual File Dependencies*
  148. alloc.obj: alloc.c 
  149.  
  150. buffer.obj: buffer.c 
  151.  
  152. charset.obj: charset.c 
  153.  
  154. cmdcmds.obj: cmdcmds.c
  155.  
  156. cmdline.obj: cmdline.c cmdtab.h
  157.  
  158. cmdtab.h: cmdtab.tab mkcmdtab.exe
  159.     mkcmdtab cmdtab.tab cmdtab.h
  160.  
  161. mkcmdtab.exe: mkcmdtab.c
  162.     $(CC) $(CFLAGS) -ml -omkcmdtab mkcmdtab.c
  163.     -del mkcmdtab.obj
  164.  
  165. csearch.obj: csearch.c 
  166.  
  167. digraph.obj: digraph.c 
  168.  
  169. edit.obj: edit.c 
  170.  
  171. fileio.obj: fileio.c 
  172.  
  173. getchar.obj: getchar.c 
  174.  
  175. help.obj: help.c 
  176.  
  177. linefunc.obj: linefunc.c 
  178.  
  179. main.obj: main.c globals.h option.h
  180.  
  181. mark.obj: mark.c
  182.  
  183. memfile.obj: memfile.c 
  184.  
  185. memline.obj: memline.c 
  186.  
  187. message.obj: message.c 
  188.  
  189. misccmds.obj: misccmds.c 
  190.  
  191. msdos.obj: msdos.c 
  192.  
  193. normal.obj: normal.c ops.h
  194.  
  195. ops.obj: ops.c ops.h
  196.  
  197. option.obj: option.c 
  198.  
  199. quickfix.obj: quickfix.c 
  200.  
  201. regexp.obj: regexp.c 
  202.  
  203. regsub.obj: regsub.c 
  204.  
  205. screen.obj: screen.c 
  206.  
  207. search.obj: search.c 
  208.  
  209. tables.obj: tables.c
  210.  
  211. tag.obj: tag.c
  212.  
  213. term.obj: term.c term.h
  214.  
  215. undo.obj: undo.c 
  216.  
  217. window.obj: window.c 
  218.  
  219. version.obj: version.c 
  220.  
  221. #        *Compiler Configuration File*
  222. # The following compile options can be changed for better machines.
  223. #    replace -1- with -2 to produce code for a 80286 or higher
  224. #    replace -1- with -3 to produce code for a 80386 or higher
  225. #    add -v for source debugging
  226. vim.cfg: makefile
  227.   copy &&|
  228. -ml
  229. -1-
  230. -f-
  231. -C
  232. -N
  233. -O
  234. -Z
  235. -k-
  236. -d
  237. -h
  238. -vi-
  239. -H=VIM.SYM
  240. -w-par
  241. -weas
  242. -wpre
  243. -I$(INCLUDEPATH)
  244. -L$(LIBPATH)
  245. -DPC;MSDOS;SPAWNO
  246. | vim.cfg
  247.  
  248. ### See makefile.txt for a list of defines that can be included
  249.