annotate src/Make_djg.mak @ 1258:aa7ad2e4b67d

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