Merge branch 'vim' into fix/fast-join
[vim_extended.git] / src / Make_morph.mak
blob488d22cd9f6efb2cf380a43051bbd22e4a9903bf
2 # Makefile for VIM, using MorphOS SDK (gcc 2.95.3)
5 CFLAGS = -c \
6 -pipe \
7 -O2 \
8 -Wall \
10 -DNO_ARP \
11 -DUSE_TMPNAM \
13 -I proto \
15 -noixemul
17 PRG = Vim
18 LIBS = -noixemul -s
19 CC = gcc
20 LD = gcc
21 OBJDUMP = objdump
22 RM = rm
24 .c.o:
25 ${CC} ${CFLAGS} $< -o $@
27 SRC = buffer.c \
28 charset.c \
29 diff.c \
30 digraph.c \
31 edit.c \
32 eval.c \
33 ex_cmds.c \
34 ex_cmds2.c \
35 ex_docmd.c \
36 ex_eval.c \
37 ex_getln.c \
38 fileio.c \
39 fold.c \
40 getchar.c \
41 hardcopy.c \
42 hashtab.c \
43 main.c \
44 mark.c \
45 mbyte.c \
46 memfile.c \
47 memline.c \
48 menu.c \
49 message.c \
50 misc1.c \
51 misc2.c \
52 move.c \
53 normal.c \
54 ops.c \
55 option.c \
56 os_amiga.c \
57 popupmnu.c \
58 quickfix.c \
59 regexp.c \
60 screen.c \
61 search.c \
62 spell.c \
63 syntax.c \
64 tag.c \
65 term.c \
66 ui.c \
67 undo.c \
68 version.c \
69 window.c \
71 OBJ = $(SRC:.c=.o)
73 $(PRG): $(OBJ)
74 ${LD} -o $(PRG) $(OBJ) $(LIBS)
76 dump: $(PRG)
77 $(OBJDUMP) --reloc --disassemble-all $(PRG) > $(PRG).s
79 clean:
80 $(RM) -fv $(OBJ) $(PRG) $(PRG).s