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.dos < prev    next >
Encoding:
Makefile  |  1993-12-12  |  3.6 KB  |  150 lines

  1. #
  2. # Makefile for VIM on MSDOS, using Turbo C
  3. #
  4.  
  5. #>>>>> choose options:
  6. ### -DDIGRAPHS        digraph support (at the cost of 1.6 Kbyte code)
  7. ### -DCOMPATIBLE    start in vi-compatible mode
  8. ### -DNOBACKUP        default is no backup file
  9. ### -DDEBUG        output a lot of debugging garbage
  10. ### -DTERMCAP        include termcap file support
  11. ### -DNO_BUILTIN_TCAPS    do not include builtin termcap entries
  12. ###                (use only with -DTERMCAP)
  13. ### -DSOME_BUILTIN_TCAPS include most useful builtin termcap entries
  14. ###                (use only without -DNO_BUILTIN_TCAPS)
  15. ### -DALL_BUILTIN_TCAPS    include all builtin termcap entries
  16. ###                (use only without -DNO_BUILTIN_TCAPS)
  17. ### -DVIMRC_FILE    name of the .vimrc file in current dir
  18. ### -DEXRC_FILE        name of the .exrc file in current dir
  19. ### -DSYSVIMRC_FILE    name of the global .vimrc file
  20. ### -DSYSEXRC_FILE    name of the global .exrc file
  21. ### -DDEFVIMRC_FILE    name of the system-wide .vimrc file
  22. ### -DVIM_HLP        name of the help file
  23. DEFINES = -DDIGRAPHS
  24.  
  25. #>>>>> name of the compiler and linker, name of lib directory
  26. CC = tcc
  27. LINK = tlink
  28. LIB = c:\turboc\lib
  29.  
  30. #>>>>> end of choices
  31. ###########################################################################
  32.  
  33. INCL = vim.h globals.h param.h keymap.h macros.h ascii.h term.h msdos.h
  34. CFLAGS = -c -ml -DMSDOS $(DEFINES)
  35.  
  36. OBJ =    alloc.obj msdos.obj buffers.obj charset.obj cmdline.obj csearch.obj \
  37.     digraph.obj edit.obj fileio.obj help.obj linefunc.obj main.obj mark.obj \
  38.     message.obj misccmds.obj normal.obj ops.obj param.obj quickfix.obj \
  39.     regexp.obj regsub.obj screen.obj script.obj search.obj storage.obj \
  40.     tag.obj term.obj undo.obj
  41.  
  42. ..\vim: $(OBJ) version.c
  43.     $(CC) $(CFLAGS) version.c
  44.     $(LINK) /c /m $(LIB)\C0l @vimresp,..\vim,..\vim,$(LIB)\emu $(LIB)\Cl
  45.  
  46. ctags:
  47.     command /c ctags *.c *.h
  48.  
  49. clean:
  50.     del $(OBJ) version.obj mkcmdtab.obj ..\vim mkcmdtab
  51.  
  52. addcr:    addcr.c
  53.     $(CC) addcr.c
  54.     command /c addcr.bat
  55.  
  56. ###########################################################################
  57.  
  58. alloc.obj:    alloc.c  $(INCL)
  59.     $(CC) $(CFLAGS) alloc.c
  60.  
  61. msdos.obj:    msdos.c  $(INCL) msdos.h
  62.     $(CC) $(CFLAGS) msdos.c
  63.  
  64. buffers.obj:    buffers.c  $(INCL)
  65.     $(CC) $(CFLAGS) buffers.c
  66.  
  67. charset.obj:    charset.c  $(INCL)
  68.     $(CC) $(CFLAGS) charset.c
  69.  
  70. cmdline.obj:    cmdline.c  $(INCL) cmdtab.h
  71.     $(CC) $(CFLAGS) cmdline.c
  72.  
  73. csearch.obj:    csearch.c  $(INCL)
  74.     $(CC) $(CFLAGS) csearch.c
  75.  
  76. digraph.obj:    digraph.c  $(INCL)
  77.     $(CC) $(CFLAGS) digraph.c
  78.  
  79. edit.obj:    edit.c  $(INCL)
  80.     $(CC) $(CFLAGS) edit.c
  81.  
  82. fileio.obj:    fileio.c  $(INCL)
  83.     $(CC) $(CFLAGS) fileio.c
  84.  
  85. help.obj:    help.c  $(INCL)
  86.     $(CC) $(CFLAGS) help.c
  87.  
  88. linefunc.obj:    linefunc.c  $(INCL)
  89.     $(CC) $(CFLAGS) linefunc.c
  90.  
  91. main.obj:    main.c  $(INCL)
  92.     $(CC) $(CFLAGS) main.c
  93.  
  94. mark.obj:    mark.c  $(INCL)
  95.     $(CC) $(CFLAGS) mark.c
  96.  
  97. message.obj:    message.c  $(INCL)
  98.     $(CC) $(CFLAGS) message.c
  99.  
  100. misccmds.obj:    misccmds.c  $(INCL)
  101.     $(CC) $(CFLAGS) misccmds.c
  102.  
  103. normal.obj:    normal.c  $(INCL) ops.h
  104.     $(CC) $(CFLAGS) normal.c
  105.  
  106. ops.obj:    ops.c  $(INCL) ops.h
  107.     $(CC) $(CFLAGS) ops.c
  108.  
  109. param.obj:    param.c  $(INCL)
  110.     $(CC) $(CFLAGS) param.c
  111.  
  112. quickfix.obj:    quickfix.c  $(INCL)
  113.     $(CC) $(CFLAGS) quickfix.c
  114.  
  115. regexp.obj:    regexp.c  $(INCL)
  116.     $(CC) $(CFLAGS) regexp.c
  117.  
  118. regsub.obj:    regsub.c  $(INCL)
  119.     $(CC) $(CFLAGS) regsub.c
  120.  
  121. screen.obj:    screen.c  $(INCL)
  122.     $(CC) $(CFLAGS) screen.c
  123.  
  124. script.obj:    script.c  $(INCL)
  125.     $(CC) $(CFLAGS) script.c
  126.  
  127. search.obj:    search.c  $(INCL)
  128.     $(CC) $(CFLAGS) search.c
  129.  
  130. storage.obj:    storage.c  $(INCL)
  131.     $(CC) $(CFLAGS) storage.c
  132.  
  133. tag.obj:    tag.c  $(INCL)
  134.     $(CC) $(CFLAGS) tag.c
  135.  
  136. term.obj:    term.c  $(INCL)
  137.     $(CC) $(CFLAGS) term.c
  138.  
  139. undo.obj:    undo.c  $(INCL)
  140.     $(CC) $(CFLAGS) undo.c
  141.  
  142. cmdtab.h: cmdtab.tab mkcmdtab.exe
  143.     mkcmdtab cmdtab.tab cmdtab.h
  144.  
  145. mkcmdtab.exe: mkcmdtab.obj
  146.     $(CC) -ml -omkcmdtab mkcmdtab.obj
  147.  
  148. mkcmdtab.obj: mkcmdtab.c
  149.     $(CC) $(CFLAGS) mkcmdtab.c
  150.