summary refs log tree commit diff
path: root/port/cgram/Makefile
blob: 02f11eec70551c0c21e0d997c15d7a59f85481aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
PREFIX = ~/.local
MANDIR = ${PREFIX}/share/man

LDLIBS = -lcurses

cgram:

clean:
	rm -f cgram

install: cgram cgram.6
	install -d ${PREFIX}/bin ${MANDIR}/man6
	install cgram ${PREFIX}/bin
	install -m 644 cgram.6 ${MANDIR}/man6

uninstall:
	rm -f ${PREFIX}/bin/cgram ${MANDIR}/man6/cgram.6