Mercurial > vim
annotate src/Make_os2.mak @ 4361:94aa0d30a3ea v7.3.929
updated for version 7.3.929
Problem: Compiler warning for unused variable. Not freeing unused string.
Solution: Remove the variable. Clear the options.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 06 May 2013 06:45:47 +0200 |
parents | 40edf1be1cd8 |
children | ab71bb81b84e |
rev | line source |
---|---|
7 | 1 # |
2 # Makefile for VIM on OS/2 using EMX vim:ts=8:sw=8:tw=78 | |
3 # | |
4 # Created by: Paul Slootman | |
5 # | |
6 | |
1621 | 7 ### This Makefile has been successfully tested on these systems. |
7 | 8 ### Check the (*) column for remarks, listed below. |
9 ### Later code changes may cause small problems, otherwise Vim is supposed to | |
10 ### compile and run without problems. | |
11 ### Just to show that this is just like the Unix version! | |
12 | |
13 #system: configurations: version (*) tested by: | |
14 #------------- ------------------------ ------- - ---------- | |
15 #OS/2 Warp HPFS gcc-2.7.2+emx-0.9b -GUI 4.5 Paul Slootman | |
16 #OS/2 FAT gcc-2.6.3+emx -GUI 4.5 Karsten Sievert | |
17 | |
18 #>>>>> choose options: | |
19 | |
20 ### See feature.h for a list of optionals. | |
21 ### Any other defines can be included here. | |
22 | |
23 DEFINES = -DUSE_SYSTEM=1 | |
24 | |
25 #>>>>> name of the compiler and linker, name of lib directory | |
26 CC = gcc | |
27 | |
28 #>>>>> end of choices | |
29 | |
30 ### Name of target(s) | |
31 TARGET = vim.exe | |
32 | |
33 ### Names of the tools that are also made | |
34 TOOLS = xxd/xxd.exe tee/tee.exe | |
35 | |
36 ########################################################################### | |
37 | |
38 INCL = vim.h globals.h option.h keymap.h macros.h ascii.h term.h os_unix.h structs.h os_os2_cfg.h | |
39 CFLAGS = -O2 -fno-strength-reduce -DOS2 -Wall -Iproto $(DEFINES) | |
40 | |
41 OBJ = \ | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
1621
diff
changeset
|
42 blowfish.o \ |
7 | 43 buffer.o \ |
44 charset.o \ | |
45 diff.o \ | |
46 digraph.o \ | |
47 edit.o \ | |
48 eval.o \ | |
49 ex_cmds.o \ | |
50 ex_cmds2.o \ | |
51 ex_docmd.o \ | |
52 ex_eval.o \ | |
53 ex_getln.o \ | |
54 fileio.o \ | |
55 fold.o \ | |
56 getchar.o \ | |
440 | 57 hardcopy.o \ |
799 | 58 hashtab.o \ |
7 | 59 main.o \ |
60 mark.o \ | |
61 memfile.o \ | |
62 memline.o \ | |
63 menu.o \ | |
64 message.o \ | |
65 misc1.o \ | |
66 misc2.o \ | |
67 move.o \ | |
68 mbyte.o \ | |
69 normal.o \ | |
70 ops.o \ | |
71 option.o \ | |
799 | 72 popupmnu.o \ |
7 | 73 quickfix.o \ |
74 regexp.o \ | |
75 screen.o \ | |
76 search.o \ | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
1621
diff
changeset
|
77 sha256.o \ |
221 | 78 spell.o \ |
7 | 79 syntax.o \ |
80 tag.o \ | |
81 term.o \ | |
82 ui.o \ | |
83 undo.o \ | |
84 window.o \ | |
85 os_unix.o | |
86 | |
87 LIBS = -ltermcap | |
88 | |
89 # Default target is making the executable | |
90 all: $(TARGET) $(TOOLS) | |
91 | |
92 # Link the target for normal use | |
93 LFLAGS = -Zcrtdll -s -o $(TARGET) $(LIBS) | |
94 | |
95 $(TARGET): $(OBJ) version.c version.h | |
96 $(CC) $(CFLAGS) version.c $(OBJ) $(LFLAGS) | |
97 | |
98 xxd/xxd.exe: xxd/xxd.c | |
99 cd xxd & $(MAKE) -f Make_os2.mak | |
100 | |
101 tee/tee.exe: tee/tee.c | |
102 cd tee & $(MAKE) -f Makefile | |
103 | |
104 test: | |
105 cd testdir & $(MAKE) -f Make_os2.mak | |
106 | |
107 clean: | |
108 -del *.o | |
109 -del *.exe | |
110 -del *.~ *~ *.bak | |
111 cd xxd & $(MAKE) -f Make_os2.mak clean | |
112 cd tee & $(MAKE) -f Makefile clean | |
113 | |
114 ########################################################################### | |
115 | |
116 os_unix.o: os_unix.c $(INCL) | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
1621
diff
changeset
|
117 blowfish.o: blowfish.c $(INCL) |
7 | 118 buffer.o: buffer.c $(INCL) |
119 charset.o: charset.c $(INCL) | |
120 diff.o: diff.c $(INCL) | |
121 digraph.o: digraph.c $(INCL) | |
122 edit.o: edit.c $(INCL) | |
123 eval.o: eval.c $(INCL) | |
124 ex_cmds.o: ex_cmds.c $(INCL) | |
125 ex_cmds2.o: ex_cmds2.c $(INCL) | |
126 ex_docmd.o: ex_docmd.c $(INCL) ex_cmds.h | |
127 ex_eval.o: ex_eval.c $(INCL) ex_cmds.h | |
128 ex_getln.o: ex_getln.c $(INCL) | |
129 fileio.o: fileio.c $(INCL) | |
130 fold.o: fold.c $(INCL) | |
131 getchar.o: getchar.c $(INCL) | |
440 | 132 hardcopy.o: hardcopy.c $(INCL) |
799 | 133 hashtab.o: hashtab.c $(INCL) |
7 | 134 main.o: main.c $(INCL) |
135 mark.o: mark.c $(INCL) | |
136 memfile.o: memfile.c $(INCL) | |
137 memline.o: memline.c $(INCL) | |
138 menu.o: menu.c $(INCL) | |
139 message.o: message.c $(INCL) | |
140 misc1.o: misc1.c $(INCL) | |
141 misc2.o: misc2.c $(INCL) | |
142 move.o: move.c $(INCL) | |
143 mbyte.o: mbyte.c $(INCL) | |
144 normal.o: normal.c $(INCL) | |
145 ops.o: ops.c $(INCL) | |
146 option.o: option.c $(INCL) | |
799 | 147 popupmnu.o: popupmnu.c $(INCL) |
7 | 148 quickfix.o: quickfix.c $(INCL) |
149 regexp.o: regexp.c $(INCL) | |
150 screen.o: screen.c $(INCL) | |
151 search.o: search.c $(INCL) | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
1621
diff
changeset
|
152 sha256.o: sha256.c $(INCL) |
221 | 153 spell.o: spell.c $(INCL) |
7 | 154 syntax.o: syntax.c $(INCL) |
155 tag.o: tag.c $(INCL) | |
156 term.o: term.c $(INCL) | |
157 ui.o: ui.c $(INCL) | |
158 undo.o: undo.c $(INCL) | |
159 window.o: window.c $(INCL) |