Makefile.dos
上传用户:gddssl
上传日期:2007-01-06
资源大小:1003k
文件大小:5k
源码类别:

编辑器/阅读器

开发平台:

DOS

  1. #
  2. # Makefile for VIM on MSDOS, using Turbo C
  3. #
  4. #>>>>> choose options:
  5. ### See feature.h for a list of optionals.
  6. ### Any other defines can be included here.
  7. DEFINES =
  8. #>>>>> name of the compiler and linker, name of lib directory
  9. CC = tcc
  10. LINK = tlink
  11. LIB = c:turboclib
  12. #>>>>> end of choices
  13. ###########################################################################
  14. INCL = vim.h globals.h option.h keymap.h macros.h ascii.h term.h os_msdos.h structs.h
  15. CFLAGS = -c -ml -DMSDOS -Iproto $(DEFINES)
  16. SRC = buffer.c 
  17. charset.c 
  18. digraph.c 
  19. edit.c 
  20. eval.c 
  21. ex_cmds.c 
  22. ex_docmd.c 
  23. ex_getln.c 
  24. fileio.c 
  25. getchar.c 
  26. main.c 
  27. mark.c 
  28. memfile.c 
  29. memline.c 
  30. message.c 
  31. misc1.c 
  32. misc2.c 
  33. multbyte.c 
  34. normal.c 
  35. ops.c 
  36. option.c 
  37. os_msdos.c 
  38. quickfix.c 
  39. regexp.c 
  40. screen.c 
  41. search.c 
  42. syntax.c 
  43. tag.c 
  44. term.c 
  45. ui.c 
  46. undo.c 
  47. window.c 
  48. version.c
  49. OBJ = objects/buffer.obj 
  50. objects/charset.obj 
  51. objects/digraph.obj 
  52. objects/edit.obj 
  53. objects/eval.obj 
  54. objects/ex_cmds.obj 
  55. objects/ex_docmd.obj 
  56. objects/ex_getln.obj 
  57. objects/fileio.obj 
  58. objects/getchar.obj 
  59. objects/main.obj 
  60. objects/mark.obj 
  61. objects/memfile.obj 
  62. objects/memline.obj 
  63. objects/message.obj 
  64. objects/misc1.obj 
  65. objects/misc2.obj 
  66. objects/multbyte.obj 
  67. objects/normal.obj 
  68. objects/ops.obj 
  69. objects/option.obj 
  70. objects/os_msdos.obj 
  71. objects/quickfix.obj 
  72. objects/regexp.obj 
  73. objects/screen.obj 
  74. objects/search.obj 
  75. objects/syntax.obj 
  76. objects/tag.obj 
  77. objects/term.obj 
  78. objects/ui.obj 
  79. objects/undo.obj 
  80. objects/window.obj 
  81. $(TERMLIB)
  82. vim.exe: $(OBJ) version.c version.h
  83. $(CC) $(CFLAGS) version.c
  84. $(LINK) /c /m $(LIB)C0l @vimresp,vim,vim,$(LIB)emu $(LIB)Cl
  85. ctags:
  86. command /c ctags $(SRC) $(INCL)
  87. clean:
  88. del $(OBJ) vim.exe
  89. ###########################################################################
  90. objects/buffer.obj: buffer.c  $(INCL)
  91. $(CC) $(CFLAGS) buffer.c -o objects/buffer.obj
  92. objects/charset.obj: charset.c  $(INCL)
  93. $(CC) $(CFLAGS) charset.c -o objects/charset.obj
  94. objects/digraph.obj: digraph.c  $(INCL)
  95. $(CC) $(CFLAGS) digraph.c -o objects/digraph.obj
  96. objects/edit.obj: edit.c  $(INCL)
  97. $(CC) $(CFLAGS) edit.c -o objects/edit.obj
  98. objects/eval.obj: eval.c  $(INCL)
  99. $(CC) $(CFLAGS) eval.c -o objects/eval.obj
  100. objects/ex_cmds.obj: ex_cmds.c  $(INCL) ex_cmds.h
  101. $(CC) $(CFLAGS) ex_cmds.c -o objects/ex_cmds.obj
  102. objects/ex_docmd.obj: ex_docmd.c  $(INCL) ex_cmds.h
  103. $(CC) $(CFLAGS) ex_docmd.c -o objects/ex_docmd.obj
  104. objects/ex_getln.obj: ex_getln.c  $(INCL)
  105. $(CC) $(CFLAGS) ex_getln.c -o objects/ex_getln.obj
  106. objects/fileio.obj: fileio.c  $(INCL)
  107. $(CC) $(CFLAGS) fileio.c -o objects/fileio.obj
  108. objects/getchar.obj: getchar.c  $(INCL)
  109. $(CC) $(CFLAGS) getchar.c -o objects/getchar.obj
  110. objects/main.obj: main.c  $(INCL)
  111. $(CC) $(CFLAGS) main.c -o objects/main.obj
  112. objects/mark.obj: mark.c  $(INCL)
  113. $(CC) $(CFLAGS) mark.c -o objects/mark.obj
  114. objects/memfile.obj: memfile.c  $(INCL)
  115. $(CC) $(CFLAGS) memfile.c -o objects/memfile.obj
  116. objects/memline.obj: memline.c  $(INCL)
  117. $(CC) $(CFLAGS) memline.c -o objects/memline.obj
  118. objects/message.obj: message.c  $(INCL)
  119. $(CC) $(CFLAGS) message.c -o objects/message.obj
  120. objects/misc1.obj: misc1.c  $(INCL)
  121. $(CC) $(CFLAGS) misc1.c -o objects/misc1.obj
  122. objects/misc2.obj: misc2.c  $(INCL)
  123. $(CC) $(CFLAGS) misc2.c -o objects/misc2.obj
  124. objects/multbyte.obj: multbyte.c  $(INCL)
  125. $(CC) $(CFLAGS) multbyte.c -o objects/multbyte.obj
  126. objects/normal.obj: normal.c  $(INCL)
  127. $(CC) $(CFLAGS) normal.c -o objects/normal.obj
  128. objects/ops.obj: ops.c  $(INCL)
  129. $(CC) $(CFLAGS) ops.c -o objects/ops.obj
  130. objects/option.obj: option.c  $(INCL)
  131. $(CC) $(CFLAGS) option.c -o objects/option.obj
  132. objects/os_msdos.obj: os_msdos.c  $(INCL) os_msdos.h
  133. $(CC) $(CFLAGS) os_msdos.c -o objects/os_msdos.obj
  134. objects/quickfix.obj: quickfix.c  $(INCL)
  135. $(CC) $(CFLAGS) quickfix.c -o objects/quickfix.obj
  136. objects/regexp.obj: regexp.c  $(INCL)
  137. $(CC) $(CFLAGS) regexp.c -o objects/regexp.obj
  138. objects/screen.obj: screen.c  $(INCL)
  139. $(CC) $(CFLAGS) screen.c -o objects/screen.obj
  140. objects/search.obj: search.c  $(INCL)
  141. $(CC) $(CFLAGS) search.c -o objects/search.obj
  142. objects/syntax.obj: syntax.c  $(INCL)
  143. $(CC) $(CFLAGS) syntax.c -o objects/syntax.obj
  144. objects/tag.obj: tag.c  $(INCL)
  145. $(CC) $(CFLAGS) tag.c -o objects/tag.obj
  146. objects/term.obj: term.c  $(INCL)
  147. $(CC) $(CFLAGS) term.c -o objects/term.obj
  148. objects/ui.obj: ui.c  $(INCL)
  149. $(CC) $(CFLAGS) ui.c -o objects/ui.obj
  150. objects/undo.obj: undo.c  $(INCL)
  151. $(CC) $(CFLAGS) undo.c -o objects/undo.obj
  152. objects/window.obj: window.c  $(INCL)
  153. $(CC) $(CFLAGS) window.c -o objects/window.obj