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 \
|
440
|
41 hardcopy.c \
|
121
|
42 hashtable.c \
|
7
|
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 \
|
542
|
57 popupmenu.c \
|
7
|
58 quickfix.c \
|
|
59 regexp.c \
|
|
60 screen.c \
|
|
61 search.c \
|
222
|
62 spell.c \
|
7
|
63 syntax.c \
|
|
64 tag.c \
|
|
65 term.c \
|
|
66 ui.c \
|
|
67 undo.c \
|
|
68 version.c \
|
|
69 window.c \
|
|
70
|
|
71 OBJ = $(SRC:.c=.o)
|
|
72
|
|
73 $(PRG): $(OBJ)
|
|
74 ${LD} -o $(PRG) $(OBJ) $(LIBS)
|
|
75
|
|
76 dump: $(PRG)
|
|
77 $(OBJDUMP) --reloc --disassemble-all $(PRG) > $(PRG).s
|
|
78
|
|
79 clean:
|
|
80 $(RM) -fv $(OBJ) $(PRG) $(PRG).s
|