Mercurial > vim
annotate src/Make_djg.mak @ 2811:5381eb5b1eb9 v7.3.181
updated for version 7.3.181
Problem: When repeating the insert of CTRL-V or a digraph the display may
not be updated correctly.
Solution: Only call edit_unputchar() after edit_putchar(). (Lech Lorens)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 10 May 2011 14:22:16 +0200 |
parents | 40edf1be1cd8 |
children | ab71bb81b84e |
rev | line source |
---|---|
7 | 1 # |
2 # Makefile for VIM on MSDOS, using DJGPP 2.0 | |
3 # | |
4 | |
5 #>>>>> choose options: | |
6 | |
7 ### See feature.h for a list of optionals. | |
8 ### Any other defines can be included here. | |
9 | |
10 DEFINES = | |
11 | |
12 #>>>>> name of the compiler and linker, name of lib directory | |
13 CC = gcc | |
14 | |
15 #>>>>> end of choices | |
16 ########################################################################### | |
17 | |
18 INCL = vim.h globals.h option.h keymap.h macros.h ascii.h term.h os_msdos.h structs.h | |
19 CFLAGS = -O2 -DMSDOS -Iproto $(DEFINES) -Wall -Dinterrupt= -Dfar= -DMAXMEM=512 -D_NAIVE_DOS_REGS | |
20 | |
21 OBJ = \ | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
800
diff
changeset
|
22 obj/blowfish.o \ |
7 | 23 obj/buffer.o \ |
24 obj/charset.o \ | |
25 obj/diff.o \ | |
26 obj/digraph.o \ | |
27 obj/edit.o \ | |
28 obj/eval.o \ | |
29 obj/ex_cmds.o \ | |
30 obj/ex_cmds2.o \ | |
31 obj/ex_docmd.o \ | |
32 obj/ex_eval.o \ | |
33 obj/ex_getln.o \ | |
34 obj/fileio.o \ | |
35 obj/fold.o \ | |
36 obj/getchar.o \ | |
440 | 37 obj/hardcopy.o \ |
800 | 38 obj/hashtab.o \ |
7 | 39 obj/main.o \ |
40 obj/mark.o \ | |
41 obj/memfile.o \ | |
42 obj/memline.o \ | |
43 obj/menu.o \ | |
44 obj/message.o \ | |
45 obj/misc1.o \ | |
46 obj/misc2.o \ | |
47 obj/move.o \ | |
48 obj/mbyte.o \ | |
49 obj/normal.o \ | |
50 obj/ops.o \ | |
51 obj/option.o \ | |
52 obj/os_msdos.o \ | |
800 | 53 obj/popupmnu.o \ |
7 | 54 obj/quickfix.o \ |
55 obj/regexp.o \ | |
56 obj/screen.o \ | |
57 obj/search.o \ | |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
800
diff
changeset
|
58 obj/sha256.o \ |
228 | 59 obj/spell.o \ |
7 | 60 obj/syntax.o \ |
61 obj/tag.o \ | |
62 obj/term.o \ | |
63 obj/ui.o \ | |
64 obj/undo.o \ | |
65 obj/window.o \ | |
66 $(TERMLIB) | |
67 | |
68 all: vim.exe install.exe uninstal.exe xxd/xxd.exe | |
69 | |
70 # version.c is compiled each time, so that it sets the build time. | |
71 vim.exe: obj $(OBJ) version.c version.h | |
72 $(CC) $(CFLAGS) -s -o vim.exe version.c $(OBJ) -lpc | |
73 | |
74 install.exe: dosinst.c | |
75 $(CC) $(CFLAGS) -s -o install.exe dosinst.c -lpc | |
76 | |
77 uninstal.exe: uninstal.c | |
78 $(CC) $(CFLAGS) -s -o uninstal.exe uninstal.c -lpc | |
79 | |
80 # This requires GNU make. | |
81 xxd/xxd.exe: xxd/xxd.c | |
82 $(MAKE) --directory=xxd -f Make_djg.mak | |
83 | |
84 obj: | |
85 mkdir obj | |
86 | |
87 tags: | |
88 command /c ctags *.c $(INCL) ex_cmds.h | |
89 | |
90 clean: | |
91 -del obj\*.o | |
92 -rmdir obj | |
93 -del vim.exe | |
94 -del install.exe | |
95 -del xxd\xxd.exe | |
96 -del testdir\*.out | |
97 | |
98 # This requires GNU make. | |
99 test: | |
100 $(MAKE) --directory=testdir -f Make_dos.mak | |
101 | |
102 ########################################################################### | |
103 | |
104 obj/%.o: %.c obj $(INCL) | |
105 $(CC) -c $(CFLAGS) -o $@ $< | |
106 | |
107 # Extra dependency (there are actually many more...) | |
108 obj/ex_docmd.o: ex_cmds.h |