Mercurial > vim
annotate src/Make_dice.mak @ 6068:353330c512a9 v7.4.373
updated for version 7.4.373
Problem: Compiler warning for unused argument and unused variable.
Solution: Add UNUSED. Move variable inside #ifdef.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 16 Jul 2014 23:39:54 +0200 |
parents | 40edf1be1cd8 |
children | ab71bb81b84e |
rev | line source |
---|---|
7 | 1 # |
2 # Makefile for VIM, using DICE 3 | |
3 # | |
4 | |
5 #>>>>> choose options: | |
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 | |
9 | |
10 #>>>>> if HAVE_TGETENT is defined o/termlib.o has to be used | |
11 TERMLIB = o/termlib.o | |
12 #TERMLIB = | |
13 | |
14 #>>>>> end of choices | |
15 ########################################################################### | |
16 | |
17 CFLAGS = -c -DAMIGA -Iproto $(DEFINES) | |
18 | |
19 SYMS = vim.syms | |
20 PRE = -H${SYMS}=vim.h | |
21 LIBS = -la | |
22 CC = dcc | |
23 LD = dcc | |
24 | |
25 .c.o: | |
26 ${CC} ${PRE} ${CFLAGS} $< -o $@ | |
27 | |
28 SRC = \ | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
800
diff
changeset
|
29 blowfish.c \ |
7 | 30 buffer.c \ |
31 charset.c \ | |
32 diff.c \ | |
33 digraph.c \ | |
34 edit.c \ | |
35 eval.c \ | |
36 ex_cmds.c \ | |
37 ex_cmds2.c \ | |
38 ex_docmd.c \ | |
39 ex_eval.c \ | |
40 ex_getln.c \ | |
41 fileio.c \ | |
42 fold.c \ | |
43 getchar.c \ | |
440 | 44 hardcopy.c \ |
800 | 45 hashtab.c \ |
7 | 46 main.c \ |
47 mark.c \ | |
48 memfile.c \ | |
49 memline.c \ | |
50 menu.c \ | |
51 message.c \ | |
52 misc1.c \ | |
53 misc2.c \ | |
54 move.c \ | |
55 mbyte.c \ | |
56 normal.c \ | |
57 ops.c \ | |
58 option.c \ | |
59 os_amiga.c \ | |
800 | 60 popupmnu.c \ |
7 | 61 quickfix.c \ |
62 regexp.c \ | |
63 screen.c \ | |
64 search.c \ | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
800
diff
changeset
|
65 sha256.c \ |
221 | 66 spell.c \ |
7 | 67 syntax.c \ |
68 tag.c \ | |
69 term.c \ | |
70 ui.c \ | |
71 undo.c \ | |
72 window.c \ | |
73 version.c | |
74 | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
800
diff
changeset
|
75 OBJ = o/blowfish.o \ |
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
800
diff
changeset
|
76 o/buffer.o \ |
7 | 77 o/charset.o \ |
78 o/diff.o \ | |
79 o/digraph.o \ | |
80 o/edit.o \ | |
81 o/eval.o \ | |
82 o/ex_cmds.o \ | |
83 o/ex_cmds2.o \ | |
84 o/ex_docmd.o \ | |
85 o/ex_eval.o \ | |
86 o/ex_getln.o \ | |
87 o/fileio.o \ | |
88 o/fold.o \ | |
89 o/getchar.o \ | |
440 | 90 o/hardcopy.o \ |
800 | 91 o/hashtab.o \ |
7 | 92 o/main.o \ |
93 o/mark.o \ | |
94 o/memfile.o \ | |
95 o/memline.o \ | |
96 o/menu.o \ | |
97 o/message.o \ | |
98 o/misc1.o \ | |
99 o/misc2.o \ | |
100 o/move.o \ | |
101 o/mbyte.o \ | |
102 o/normal.o \ | |
103 o/ops.o \ | |
104 o/option.o \ | |
105 o/os_amiga.o \ | |
800 | 106 o/popupmnu.o \ |
7 | 107 o/quickfix.o \ |
108 o/regexp.o \ | |
109 o/screen.o \ | |
110 o/search.o \ | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
800
diff
changeset
|
111 o/sha256.o \ |
221 | 112 o/spell.o \ |
7 | 113 o/syntax.o \ |
114 o/tag.o \ | |
115 o/term.o \ | |
116 o/ui.o \ | |
117 o/undo.o \ | |
118 o/window.o \ | |
119 $(TERMLIB) | |
120 | |
121 Vim: $(OBJ) version.c version.h | |
122 ${CC} $(CFLAGS) version.c -o o/version.o | |
123 ${LD} -o Vim $(OBJ) o/version.o $(LIBS) | |
124 | |
125 debug: $(OBJ) version.c version.h | |
126 ${CC} $(CFLAGS) version.c -o o/version.o | |
127 ${LD} -s -o Vim $(OBJ) o/version.o $(LIBS) | |
128 | |
129 tags: | |
130 csh -c ctags $(SRC) *.h | |
131 | |
132 clean: | |
133 delete o/*.o Vim $(SYMS) | |
134 | |
135 $(SYMS) : vim.h globals.h keymap.h macros.h ascii.h term.h os_amiga.h structs.h | |
136 delete $(SYMS) | |
137 | |
138 ########################################################################### | |
139 | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
800
diff
changeset
|
140 o/blowfish.o: blowfish.c $(SYMS) |
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
800
diff
changeset
|
141 |
7 | 142 o/buffer.o: buffer.c $(SYMS) |
143 | |
144 o/charset.o: charset.c $(SYMS) | |
145 | |
146 o/diff.o: diff.c $(SYMS) | |
147 | |
148 o/digraph.o: digraph.c $(SYMS) | |
149 | |
150 o/edit.o: edit.c $(SYMS) | |
151 | |
152 o/eval.o: eval.c $(SYMS) | |
153 | |
154 o/ex_cmds.o: ex_cmds.c $(SYMS) | |
155 | |
156 o/ex_cmds2.o: ex_cmds2.c $(SYMS) | |
157 | |
158 o/ex_docmd.o: ex_docmd.c $(SYMS) ex_cmds.h | |
159 | |
160 o/ex_eval.o: ex_eval.c $(SYMS) ex_cmds.h | |
161 | |
162 o/ex_getln.o: ex_getln.c $(SYMS) | |
163 | |
164 o/fileio.o: fileio.c $(SYMS) | |
165 | |
166 o/fold.o: fold.c $(SYMS) | |
167 | |
168 o/getchar.o: getchar.c $(SYMS) | |
169 | |
440 | 170 o/hardcopy.o: hardcopy.c $(SYMS) |
171 | |
800 | 172 o/hashtab.o: hashtab.c $(SYMS) |
119 | 173 |
7 | 174 o/main.o: main.c $(SYMS) |
175 | |
176 o/mark.o: mark.c $(SYMS) | |
177 | |
178 o/memfile.o: memfile.c $(SYMS) | |
179 | |
180 o/memline.o: memline.c $(SYMS) | |
181 | |
182 o/menu.o: menu.c $(SYMS) | |
183 | |
184 o/message.o: message.c $(SYMS) | |
185 | |
186 o/misc1.o: misc1.c $(SYMS) | |
187 | |
188 o/misc2.o: misc2.c $(SYMS) | |
189 | |
190 o/move.o: move.c $(SYMS) | |
191 | |
192 o/mbyte.o: mbyte.c $(SYMS) | |
193 | |
194 o/normal.o: normal.c $(SYMS) | |
195 | |
196 o/ops.o: ops.c $(SYMS) | |
197 | |
198 o/option.o: option.c $(SYMS) | |
199 # Because of a bug in DC1 2.06.40, initialisation of unions does not | |
200 # work correctly. dc1-21 is DC1 2.06.21 which does work. | |
201 # rename dc1-21 dc1 | |
202 ${CC} ${CFLAGS} option.c -o o/option.o | |
203 # rename dc1 dc1-21 | |
204 | |
205 o/os_amiga.o: os_amiga.c $(SYMS) os_amiga.h | |
206 | |
800 | 207 o/popupmnu.o: popupmnu.c $(SYMS) |
540 | 208 |
7 | 209 o/quickfix.o: quickfix.c $(SYMS) |
210 | |
211 o/regexp.o: regexp.c $(SYMS) regexp.h | |
212 | |
213 o/screen.o: screen.c $(SYMS) | |
214 | |
215 o/search.o: search.c $(SYMS) regexp.h | |
216 | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
800
diff
changeset
|
217 o/sha256.o: sha256.c $(SYMS) |
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
800
diff
changeset
|
218 |
221 | 219 o/spell.o: spell.c $(SYMS) |
220 | |
7 | 221 o/syntax.o: syntax.c $(SYMS) |
222 | |
223 o/tag.o: tag.c $(SYMS) | |
224 | |
225 o/term.o: term.c $(SYMS) term.h | |
226 | |
227 o/termlib.o: termlib.c $(SYMS) | |
228 | |
229 o/ui.o: ui.c $(SYMS) | |
230 | |
231 o/undo.o: undo.c $(SYMS) | |
232 | |
233 o/window.o: window.c $(SYMS) |