blob: e70f82f2016de284b5caa452acc859ccd848bc0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
BINDIR = /usr/local/bin
MANDIR = /usr/local/man
HEADERS = /usr/pkg/include
LIBS = /usr/pkg/lib
CFLAGS := -I$(HEADERS)
LDFLAGS := -L$(LIBS) -Wl,-R$(LIBS) -lreadline -ltermcap
repl: repl.c
install: repl
install repl ${BINDIR}/repl
install -m 644 repl.1 ${MANDIR}/man1/repl.1
uninstall:
rm ${BINDIR}/repl
rm ${MANDIR}/man1/repl.1
|