-
Notifications
You must be signed in to change notification settings - Fork 14
/
makefile.arch
143 lines (97 loc) · 2.96 KB
/
makefile.arch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
#
# Makefile for Vim on Acorn Archimedes, using gcc and UnixLib
#
MACHINE = -DARCHIE
### gcc on the Arc.
CC=gcc
### Name of target
TARGET = vim
### See makefile.txt for a list of defines that can be included
# To keep the command line down, all the defs have gone into
# the macro file "defs"
DEFS = -include defs -O2
#>>>>> link with termlib or termcap only if HAVE_TGETENT is defined
### default
LIBS =
#>>>>> end of choices
###########################################################################
CFLAGS = -c $(MACHINE) $(DEFS)
INCL = h.vim h.globals h.option h.keymap h.macros h.ascii h.term h.unix h.debug
OBJ = o.alloc o.archie o.buffer o.charset o.cmdcmds o.cmdline o.csearch o.digraph \
o.edit o.fileio o.getchar o.help o.linefunc o.main o.mark o.memfile o.memline o.message o.misccmds \
o.normal o.ops o.option o.quickfix o.regexp o.regsub o.screen \
o.search o.tables o.tag o.term o.undo o.window
$(TARGET): $(OBJ) c.version
$(CC) $(CFLAGS) version.c
rename o.mkcmdtab tempfile
$(CC) -o $(TARGET) o.* $(LIBS)
rename tempfile o.mkcmdtab
###########################################################################
o.alloc: c.alloc $(INCL)
$(CC) $(CFLAGS) alloc.c
o.archie: c.archie $(INCL) h.archie
$(CC) $(CFLAGS) archie.c
o.buffer: c.buffer $(INCL)
$(CC) $(CFLAGS) buffer.c
o.charset: c.charset $(INCL)
$(CC) $(CFLAGS) charset.c
o.cmdcmds: c.cmdcmds $(INCL)
$(CC) $(CFLAGS) cmdcmds.c
o.cmdline: c.cmdline $(INCL) h.cmdtab
$(CC) $(CFLAGS) cmdline.c
o.csearch: c.csearch $(INCL)
$(CC) $(CFLAGS) csearch.c
o.digraph: c.digraph $(INCL)
$(CC) $(CFLAGS) digraph.c
o.edit: c.edit $(INCL)
$(CC) $(CFLAGS) edit.c
o.fileio: c.fileio $(INCL)
$(CC) $(CFLAGS) fileio.c
o.getchar: c.getchar $(INCL)
$(CC) $(CFLAGS) getchar.c
o.help: c.help $(INCL)
$(CC) $(CFLAGS) help.c
o.linefunc: c.linefunc $(INCL)
$(CC) $(CFLAGS) linefunc.c
o.main: c.main $(INCL)
$(CC) $(CFLAGS) main.c
o.mark: c.mark $(INCL)
$(CC) $(CFLAGS) mark.c
o.memfile: c.memfile $(INCL)
$(CC) $(CFLAGS) memfile.c
o.memline: c.memline $(INCL)
$(CC) $(CFLAGS) memline.c
o.message: c.message $(INCL)
$(CC) $(CFLAGS) message.c
o.misccmds: c.misccmds $(INCL)
$(CC) $(CFLAGS) misccmds.c
o.normal: c.normal $(INCL) h.ops
$(CC) $(CFLAGS) normal.c
o.ops: c.ops $(INCL) h.ops
$(CC) $(CFLAGS) ops.c
o.option: c.option $(INCL)
$(CC) $(CFLAGS) option.c
o.quickfix: c.quickfix $(INCL)
$(CC) $(CFLAGS) quickfix.c
o.regexp: c.regexp $(INCL)
$(CC) $(CFLAGS) regexp.c
o.regsub: c.regsub $(INCL)
$(CC) $(CFLAGS) regsub.c
o.screen: c.screen $(INCL)
$(CC) $(CFLAGS) screen.c
o.search: c.search $(INCL)
$(CC) $(CFLAGS) search.c
o.tables: c.tables $(INCL)
$(CC) $(CFLAGS) tables.c
o.tag: c.tag $(INCL)
$(CC) $(CFLAGS) tag.c
o.term: c.term $(INCL)
$(CC) $(CFLAGS) term.c
o.undo: c.undo $(INCL)
$(CC) $(CFLAGS) undo.c
o.window: c.window $(INCL)
$(CC) $(CFLAGS) window.c
h.cmdtab: cmdtab mkcmdtab
mkcmdtab cmdtab h.cmdtab
mkcmdtab: o.mkcmdtab
$(CC) -o mkcmdtab mkcmdtab.o