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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 # Makefile for VIM on MSDOS, using DJGPP 2.0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 #>>>>> choose options:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 ### See feature.h for a list of optionals.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 ### Any other defines can be included here.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 DEFINES =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 #>>>>> name of the compiler and linker, name of lib directory
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 CC = gcc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 #>>>>> end of choices
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 ###########################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 INCL = vim.h globals.h option.h keymap.h macros.h ascii.h term.h os_msdos.h structs.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 CFLAGS = -O2 -DMSDOS -Iproto $(DEFINES) -Wall -Dinterrupt= -Dfar= -DMAXMEM=512 -D_NAIVE_DOS_REGS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 obj/buffer.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 obj/charset.o \
6126
ab71bb81b84e updated for version 7.4.401
Bram Moolenaar <bram@vim.org>
parents: 2192
diff changeset
27 obj/crypt.o \
ab71bb81b84e updated for version 7.4.401
Bram Moolenaar <bram@vim.org>
parents: 2192
diff changeset
28 obj/crypt_zip.o \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 obj/diff.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 obj/digraph.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 obj/edit.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 obj/eval.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 obj/ex_cmds.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 obj/ex_cmds2.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 obj/ex_docmd.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 obj/ex_eval.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 obj/ex_getln.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 obj/fileio.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 obj/fold.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 obj/getchar.o \
440
eb531146be0e updated for version 7.0114
vimboss
parents: 228
diff changeset
41 obj/hardcopy.o \
800
d8f905020502 updated for version 7.0b
vimboss
parents: 542
diff changeset
42 obj/hashtab.o \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 obj/main.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 obj/mark.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 obj/memfile.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 obj/memline.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 obj/menu.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 obj/message.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 obj/misc1.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 obj/misc2.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 obj/move.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 obj/mbyte.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 obj/normal.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 obj/ops.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 obj/option.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 obj/os_msdos.o \
800
d8f905020502 updated for version 7.0b
vimboss
parents: 542
diff changeset
57 obj/popupmnu.o \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 obj/quickfix.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 obj/regexp.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 obj/screen.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
d97518d6b325 updated for version 7.0063
vimboss
parents: 121
diff changeset
63 obj/spell.o \
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 obj/syntax.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 obj/tag.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 obj/term.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 obj/ui.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 obj/undo.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 obj/window.o \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 $(TERMLIB)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 all: vim.exe install.exe uninstal.exe xxd/xxd.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 # version.c is compiled each time, so that it sets the build time.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 vim.exe: obj $(OBJ) version.c version.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 $(CC) $(CFLAGS) -s -o vim.exe version.c $(OBJ) -lpc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 install.exe: dosinst.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 $(CC) $(CFLAGS) -s -o install.exe dosinst.c -lpc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 uninstal.exe: uninstal.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 $(CC) $(CFLAGS) -s -o uninstal.exe uninstal.c -lpc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 # This requires GNU make.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 xxd/xxd.exe: xxd/xxd.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 $(MAKE) --directory=xxd -f Make_djg.mak
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 obj:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 mkdir obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 tags:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 command /c ctags *.c $(INCL) ex_cmds.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 clean:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 -del obj\*.o
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 -rmdir obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 -del vim.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 -del install.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 -del xxd\xxd.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 -del testdir\*.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 # This requires GNU make.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 test:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 $(MAKE) --directory=testdir -f Make_dos.mak
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 ###########################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 obj/%.o: %.c obj $(INCL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 $(CC) -c $(CFLAGS) -o $@ $<
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 # Extra dependency (there are actually many more...)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 obj/ex_docmd.o: ex_cmds.h