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