Merge branch 'vim-with-runtime' into feat/tagfunc
[vim_extended.git] / src / Make_ro.mak
blob203a18ac4d935d53a89e8b4de9c493faff0bdaf8
2 # Makefile for Vim on RISC OS - Andy Wingate
5 GCC = gcc -mthrowback
6 CFLAGS = -DRISCOS -DFEAT_GUI
7 CC = $(GCC) $(CFLAGS) -O2
8 # -DUP_BC_PC_EXTERN for term.c needed as BC defined in termlib.c and term.c
10 TERMFLAG = -DUP_BC_PC_EXTERN
12 ASMFLAGS = -throwback -objasm -gcc
14 OBJS = o.buffer o.charset o.diff o.digraph o.edit o.eval o.ex_cmds o.ex_cmds2 \
15 o.ex_docmd o.ex_eval o.ex_getln o.fileio o.fold o.getchar \
16 o.hardcopy o.hashtab o.main o.mark o.mbyte \
17 o.memfile o.memline o.menu o.message o.misc1 o.misc2 o.move \
18 o.normal o.ops o.option o.popupmnu o.quickfix o.regexp o.screen \
19 o.search \
20 o.spell o.syntax o.tag o.term o.termlib o.ui o.undo o.version \
21 o.window o.os_riscos o.swis o.gui o.gui_riscos
23 Vim: $(OBJS)
24 $(GCC) -o Vim $(OBJS)
26 install: Vim
27 squeeze -v Vim @.!Vim.Vim
29 clean:
30 create o.!fake! 0
31 wipe o.* ~cf
32 remove Vim
34 o.swis: s.swis
35 as $(ASMFLAGS) -o o.swis s.swis
37 # Rules for object files
39 o.%: c.%
40 $(CC) -c $< -o $@
42 o.buffer: c.buffer
44 o.charset: c.charset
46 o.digraph: c.digraph
48 o.diff: c.diff
50 o.edit: c.edit
52 o.eval: c.eval
54 o.ex_cmds: c.ex_cmds
56 o.ex_cmds2: c.ex_cmds2
58 o.ex_docmd: c.ex_docmd
60 o.ex_eval: c.ex_eval
62 o.ex_getln: c.ex_getln
64 o.fileio: c.fileio
66 o.fold: c.fold
68 o.getchar: c.getchar
70 o.hardcopy: c.hardcopy
72 o.hashtab: c.hashtab
74 o.gui: c.gui
76 o.gui_riscos: c.gui_riscos
78 o.main: c.main
80 o.mark: c.mark
82 o.mbyte: c.mbyte
84 o.memfile: c.memfile
86 o.memline: c.memline
88 o.menu: c.menu
90 o.message: c.message
92 o.misc1: c.misc1
94 o.misc2: c.misc2
96 o.move: c.move
98 o.normal: c.normal
100 o.ops: c.ops
102 o.option: c.option
104 o.os_riscos: c.os_riscos
106 o.pty: c.pty
108 o.popupmnu: c.popupmnu
110 o.quickfix: c.quickfix
112 o.regexp: c.regexp
114 o.screen: c.screen
116 o.search: c.search
118 o.spell: c.spell
120 o.syntax: c.syntax
122 o.tag: c.tag
124 o.term: c.term
125 $(CC) $(TERMFLAG) -c c.term -o o.term
127 o.termlib: c.termlib
129 o.ui: c.ui
131 o.undo: c.undo
133 o.version: c.version
135 o.window: c.window