2 # Makefile for Vim on RISC OS - Andy Wingate
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 \
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
27 squeeze
-v Vim @.
!Vim.Vim
35 as $(ASMFLAGS
) -o o.swis s.swis
37 # Rules for object files
56 o.ex_cmds2
: c.ex_cmds2
58 o.ex_docmd
: c.ex_docmd
62 o.ex_getln
: c.ex_getln
70 o.hardcopy
: c.hardcopy
76 o.gui_riscos
: c.gui_riscos
104 o.os_riscos
: c.os_riscos
108 o.popupmnu
: c.popupmnu
110 o.quickfix
: c.quickfix
125 $(CC
) $(TERMFLAG
) -c c.term
-o o.term