comparison src/Make_ro.mak @ 36:125e80798a85 v7.0021

updated for version 7.0021
author vimboss
date Thu, 09 Dec 2004 21:34:53 +0000
parents 3fc0f57ecb91
children e8f07016e34d
comparison
equal deleted inserted replaced
35:8f3a526c2fe1 36:125e80798a85
1 # 1 #
2 # Makefile for Vim on RISC OS - Andy Wingate 2 # Makefile for Vim on RISC OS - Andy Wingate
3 # 3 #
4 4
5 GCC = gcc -mthrowback 5 GCC = gcc -mthrowback
6 CFLAGS = -DRISCOS -DFEAT_GUI 6 CFLAGS = -DRISCOS -DFEAT_GUI
7 # Optimising on ex_docmd.c seems to cause segfaults on compilation. Needs investigation. 7 CC = $(GCC) $(CFLAGS) -O2
8 CCEX_DOCMD = $(GCC) $(CFLAGS)
9 CC = $(GCC) $(CFLAGS) -O2
10 # -DUP_BC_PC_EXTERN for term.c needed as BC defined in termlib.c and term.c 8 # -DUP_BC_PC_EXTERN for term.c needed as BC defined in termlib.c and term.c
11 9
12 TERMFLAG = -DUP_BC_PC_EXTERN 10 TERMFLAG = -DUP_BC_PC_EXTERN
13 11
14 ASMFLAGS = -throwback -objasm -gcc 12 ASMFLAGS = -throwback -objasm -gcc
15 13
16 OBJS = o.buffer o.charset o.digraph o.edit o.eval o.ex_cmds o.ex_cmds2 o.diff \ 14 OBJS = o.buffer o.charset o.diff o.digraph o.edit o.eval o.ex_cmds o.ex_cmds2 \
17 o.ex_docmd o.ex_eval o.ex_getln o.fileio o.fold o.getchar o.main o.mark o.mbyte \ 15 o.ex_docmd o.ex_eval o.ex_getln o.fileio o.fold o.getchar o.main o.mark o.mbyte \
18 o.memfile o.memline o.menu o.message o.misc1 o.misc2 o.move \ 16 o.memfile o.memline o.menu o.message o.misc1 o.misc2 o.move \
19 o.normal o.ops o.option o.quickfix o.regexp o.screen o.search \ 17 o.normal o.ops o.option o.quickfix o.regexp o.screen o.search \
20 o.syntax o.tag o.term o.termlib o.ui o.undo o.version o.window \ 18 o.syntax o.tag o.term o.termlib o.ui o.undo o.version o.window \
21 o.os_riscos o.swis o.gui o.gui_riscos 19 o.os_riscos o.swis o.gui o.gui_riscos
24 $(GCC) -o Vim $(OBJS) 22 $(GCC) -o Vim $(OBJS)
25 23
26 install: Vim 24 install: Vim
27 squeeze -v Vim @.!Vim.Vim 25 squeeze -v Vim @.!Vim.Vim
28 26
29 clean: 27 clean:
30 create o.!fake! 0 28 create o.!fake! 0
31 wipe o.* ~cf 29 wipe o.* ~cf
32 remove Vim 30 remove Vim
33 31
34 o.swis: s.swis 32 o.swis: s.swis
35 as $(ASMFLAGS) -o o.swis s.swis 33 as $(ASMFLAGS) -o o.swis s.swis
36 34
37 # Rules for object files 35 # Rules for object files
38 # You shouldn't need to put all this information in as all but term.c have the same 36
39 # rule (and only then to save extra defines) but some versions of make are awkward. 37 o.%: c.%
38 $(CC) -c $< -o $@
40 39
41 o.buffer: c.buffer 40 o.buffer: c.buffer
42 $(CC) -c c.buffer -o o.buffer
43 41
44 o.charset: c.charset 42 o.charset: c.charset
45 $(CC) -c c.charset -o o.charset
46 43
47 o.digraph: c.digraph 44 o.digraph: c.digraph
48 $(CC) -c c.digraph -o o.digraph
49 45
50 o.diff: c.diff 46 o.diff: c.diff
51 $(CC) -c c.diff -o o.diff
52 47
53 o.edit: c.edit 48 o.edit: c.edit
54 $(CC) -c c.edit -o o.edit
55 49
56 o.eval: c.eval 50 o.eval: c.eval
57 $(CC) -c c.eval -o o.eval
58 51
59 o.ex_cmds: c.ex_cmds 52 o.ex_cmds: c.ex_cmds
60 $(CC) -c c.ex_cmds -o o.ex_cmds
61 53
62 o.ex_cmds2: c.ex_cmds2 54 o.ex_cmds2: c.ex_cmds2
63 $(CC) -c c.ex_cmds2 -o o.ex_cmds2
64 55
65 o.ex_docmd: c.ex_docmd 56 o.ex_docmd: c.ex_docmd
66 $(CCEX_DOCMD) -c c.ex_docmd -o o.ex_docmd
67 57
68 o.ex_eval: c.ex_eval 58 o.ex_eval: c.ex_eval
69 $(CCEX_DOCMD) -c c.ex_eval -o o.ex_eval
70 59
71 o.ex_getln: c.ex_getln 60 o.ex_getln: c.ex_getln
72 $(CC) -c c.ex_getln -o o.ex_getln
73 61
74 o.fileio: c.fileio 62 o.fileio: c.fileio
75 $(CC) -c c.fileio -o o.fileio
76 63
77 o.fold: c.fold 64 o.fold: c.fold
78 $(CC) -c c.fold -o o.fold
79 65
80 o.getchar: c.getchar 66 o.getchar: c.getchar
81 $(CC) -c c.getchar -o o.getchar
82 67
83 o.gui: c.gui 68 o.gui: c.gui
84 $(CC) -c c.gui -o o.gui
85 69
86 o.gui_riscos: c.gui_riscos 70 o.gui_riscos: c.gui_riscos
87 $(CC) -c c.gui_riscos -o o.gui_riscos
88 71
89 o.main: c.main 72 o.main: c.main
90 $(CC) -c c.main -o o.main
91 73
92 o.mark: c.mark 74 o.mark: c.mark
93 $(CC) -c c.mark -o o.mark
94 75
95 o.mbyte: c.mbyte 76 o.mbyte: c.mbyte
96 $(CC) -c c.mbyte -o o.mbyte
97 77
98 o.memfile: c.memfile 78 o.memfile: c.memfile
99 $(CC) -c c.memfile -o o.memfile
100 79
101 o.memline: c.memline 80 o.memline: c.memline
102 $(CC) -c c.memline -o o.memline
103 81
104 o.menu: c.menu 82 o.menu: c.menu
105 $(CC) -c c.menu -o o.menu
106 83
107 o.message: c.message 84 o.message: c.message
108 $(CC) -c c.message -o o.message
109 85
110 o.misc1: c.misc1 86 o.misc1: c.misc1
111 $(CC) -c c.misc1 -o o.misc1
112 87
113 o.misc2: c.misc2 88 o.misc2: c.misc2
114 $(CC) -c c.misc2 -o o.misc2
115 89
116 o.move: c.move 90 o.move: c.move
117 $(CC) -c c.move -o o.move
118 91
119 o.normal: c.normal 92 o.normal: c.normal
120 $(CC) -c c.normal -o o.normal
121 93
122 o.ops: c.ops 94 o.ops: c.ops
123 $(CC) -c c.ops -o o.ops
124 95
125 o.option: c.option 96 o.option: c.option
126 $(CC) -c c.option -o o.option
127 97
128 o.os_riscos: c.os_riscos 98 o.os_riscos: c.os_riscos
129 $(CC) -c c.os_riscos -o o.os_riscos
130 99
131 o.pty: c.pty 100 o.pty: c.pty
132 $(CC) -c c.pty -o p.pty
133 101
134 o.quickfix: c.quickfix 102 o.quickfix: c.quickfix
135 $(CC) -c c.quickfix -o o.quickfix
136 103
137 o.regexp: c.regexp 104 o.regexp: c.regexp
138 $(CC) -c c.regexp -o o.regexp
139 105
140 o.screen: c.screen 106 o.screen: c.screen
141 $(CC) -c c.screen -o o.screen
142 107
143 o.search: c.search 108 o.search: c.search
144 $(CC) -c c.search -o o.search
145 109
146 o.syntax: c.syntax 110 o.syntax: c.syntax
147 $(CC) -c c.syntax -o o.syntax
148 111
149 o.tag: c.tag 112 o.tag: c.tag
150 $(CC) -c c.tag -o o.tag
151 113
152 o.term: c.term 114 o.term: c.term
153 $(CC) $(TERMFLAG) -c c.term -o o.term 115 $(CC) $(TERMFLAG) -c c.term -o o.term
154 116
155 o.termlib: c.termlib 117 o.termlib: c.termlib
156 $(CC) -c c.termlib -o o.termlib
157 118
158 o.ui: c.ui 119 o.ui: c.ui
159 $(CC) -c c.ui -o o.ui
160 120
161 o.undo: c.undo 121 o.undo: c.undo
162 $(CC) -c c.undo -o o.undo
163 122
164 o.version: c.version 123 o.version: c.version
165 $(CC) -c c.version -o o.version
166 124
167 o.window: c.window 125 o.window: c.window
168 $(CC) -c c.window -o o.window