2 # Makefile for VIM, using DICE 3
6 ### See feature.h for a list of optionals.
7 ### Any other defines can be included here.
8 DEFINES
= -DHAVE_TGETENT
-DUP_BC_PC_EXTERN
-DOSPEED_EXTERN
10 #>>>>> if HAVE_TGETENT is defined o/termlib.o has to be used
15 ###########################################################################
17 CFLAGS
= -c
-DAMIGA
-Iproto
$(DEFINES
)
26 ${CC} ${PRE} ${CFLAGS} $< -o
$@
117 Vim
: $(OBJ
) version.c version.h
118 ${CC} $(CFLAGS
) version.c
-o o
/version.o
119 ${LD} -o Vim
$(OBJ
) o
/version.o
$(LIBS
)
121 debug
: $(OBJ
) version.c version.h
122 ${CC} $(CFLAGS
) version.c
-o o
/version.o
123 ${LD} -s
-o Vim
$(OBJ
) o
/version.o
$(LIBS
)
126 csh
-c ctags
$(SRC
) *.h
129 delete o
/*.o Vim
$(SYMS
)
131 $(SYMS
) : vim.h globals.h keymap.h macros.h ascii.h term.h os_amiga.h structs.h
134 ###########################################################################
136 o
/buffer.o
: buffer.c
$(SYMS
)
138 o
/charset.o
: charset.c
$(SYMS
)
140 o
/diff.o
: diff.c
$(SYMS
)
142 o
/digraph.o
: digraph.c
$(SYMS
)
144 o
/edit.o
: edit.c
$(SYMS
)
146 o
/eval.o
: eval.c
$(SYMS
)
148 o
/ex_cmds.o
: ex_cmds.c
$(SYMS
)
150 o
/ex_cmds2.o
: ex_cmds2.c
$(SYMS
)
152 o
/ex_docmd.o
: ex_docmd.c
$(SYMS
) ex_cmds.h
154 o
/ex_eval.o
: ex_eval.c
$(SYMS
) ex_cmds.h
156 o
/ex_getln.o
: ex_getln.c
$(SYMS
)
158 o
/fileio.o
: fileio.c
$(SYMS
)
160 o
/fold.o
: fold.c
$(SYMS
)
162 o
/getchar.o
: getchar.c
$(SYMS
)
164 o
/hardcopy.o
: hardcopy.c
$(SYMS
)
166 o
/hashtab.o
: hashtab.c
$(SYMS
)
168 o
/main.o
: main.c
$(SYMS
)
170 o
/mark.o
: mark.c
$(SYMS
)
172 o
/memfile.o
: memfile.c
$(SYMS
)
174 o
/memline.o
: memline.c
$(SYMS
)
176 o
/menu.o
: menu.c
$(SYMS
)
178 o
/message.o
: message.c
$(SYMS
)
180 o
/misc1.o
: misc1.c
$(SYMS
)
182 o
/misc2.o
: misc2.c
$(SYMS
)
184 o
/move.o
: move.c
$(SYMS
)
186 o
/mbyte.o
: mbyte.c
$(SYMS
)
188 o
/normal.o
: normal.c
$(SYMS
)
190 o
/ops.o
: ops.c
$(SYMS
)
192 o
/option.o
: option.c
$(SYMS
)
193 # Because of a bug in DC1 2.06.40, initialisation of unions does not
194 # work correctly. dc1-21 is DC1 2.06.21 which does work.
196 ${CC} ${CFLAGS} option.c
-o o
/option.o
199 o
/os_amiga.o
: os_amiga.c
$(SYMS
) os_amiga.h
201 o
/popupmnu.o
: popupmnu.c
$(SYMS
)
203 o
/quickfix.o
: quickfix.c
$(SYMS
)
205 o
/regexp.o
: regexp.c
$(SYMS
) regexp.h
207 o
/screen.o
: screen.c
$(SYMS
)
209 o
/search.o
: search.c
$(SYMS
) regexp.h
211 o
/spell.o
: spell.c
$(SYMS
)
213 o
/syntax.o
: syntax.c
$(SYMS
)
215 o
/tag.o
: tag.c
$(SYMS
)
217 o
/term.o
: term.c
$(SYMS
) term.h
219 o
/termlib.o
: termlib.c
$(SYMS
)
223 o
/undo.o
: undo.c
$(SYMS
)
225 o
/window.o
: window.c
$(SYMS
)