7
|
1 #
|
|
2 # Makefile for VIM, using MorphOS SDK (gcc 2.95.3)
|
|
3 #
|
|
4
|
|
5 CFLAGS = -c \
|
|
6 -pipe \
|
|
7 -O2 \
|
|
8 -Wall \
|
|
9 \
|
|
10 -DNO_ARP \
|
|
11 -DUSE_TMPNAM \
|
|
12 \
|
|
13 -I proto \
|
|
14 \
|
|
15 -noixemul
|
|
16
|
|
17 PRG = Vim
|
|
18 LIBS = -noixemul -s
|
|
19 CC = gcc
|
|
20 LD = gcc
|
|
21 OBJDUMP = objdump
|
|
22 RM = rm
|
|
23
|
|
24 .c.o:
|
|
25 ${CC} ${CFLAGS} $< -o $@
|
|
26
|
|
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 \
|
121
|
41 hashtable.c \
|
7
|
42 main.c \
|
|
43 mark.c \
|
|
44 mbyte.c \
|
|
45 memfile.c \
|
|
46 memline.c \
|
|
47 menu.c \
|
|
48 message.c \
|
|
49 misc1.c \
|
|
50 misc2.c \
|
|
51 move.c \
|
|
52 normal.c \
|
|
53 ops.c \
|
|
54 option.c \
|
|
55 os_amiga.c \
|
|
56 quickfix.c \
|
|
57 regexp.c \
|
|
58 screen.c \
|
|
59 search.c \
|
222
|
60 spell.c \
|
7
|
61 syntax.c \
|
|
62 tag.c \
|
|
63 term.c \
|
|
64 ui.c \
|
|
65 undo.c \
|
|
66 version.c \
|
|
67 window.c \
|
|
68
|
|
69 OBJ = $(SRC:.c=.o)
|
|
70
|
|
71 $(PRG): $(OBJ)
|
|
72 ${LD} -o $(PRG) $(OBJ) $(LIBS)
|
|
73
|
|
74 dump: $(PRG)
|
|
75 $(OBJDUMP) --reloc --disassemble-all $(PRG) > $(PRG).s
|
|
76
|
|
77 clean:
|
|
78 $(RM) -fv $(OBJ) $(PRG) $(PRG).s
|