Introduction
Introduction Statistics Contact Development Disclaimer Help
tMakefile - neatvi - [fork] simple vi-type editor with UTF-8 support
git clone git://src.adamsgaard.dk/neatvi
Log
Files
Refs
README
---
tMakefile (591B)
---
1 .POSIX:
2
3 PREFIX = /usr/local
4
5 BIN = neatvi
6
7 SRC = \
8 vi.c \
9 ex.c \
10 lbuf.c \
11 mot.c \
12 sbuf.c \
13 ren.c \
14 dir.c \
15 syn.c \
16 reg.c \
17 led.c \
18 uc.c \
19 term.c \
20 rset.c \
21 rstr.c \
22 regex.c \
23 cmd.c \
24 conf.c \
25
26 HDR = conf.h
27
28 all: ${BIN}
29
30 OBJ = ${SRC:.c=.o}
31
32 conf.o: conf.h
33
34 ${BIN}: ${OBJ}
35 ${CC} ${LDFLAGS} -o $@ ${OBJ}
36
37 .c.o:
38 ${CC} ${CFLAGS} ${CPPFLAGS} -o $@ -c $<
39
40 install:
41 mkdir -p "${DESTDIR}${PREFIX}/bin"
42 cp -f ${BIN} "${DESTDIR}${PREFIX}/bin"
43
44 uninstall:
45 for f in ${BIN}; do rm -f "${DESTDIR}${PREFIX}/bin/$$f"; done
46
47 clean:
48 rm -f ${BIN} ${OBJ}
49
50 .PHONY: install uninstall clean
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.