blob: 179a2d34599fc76676c993570fcc9bc0cbd70c2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
PREFIX ?= /usr/local
BINDIR ?= ${PREFIX}/bin
MANDIR ?= ${PREFIX}/man
CFLAGS += -Wall -Wextra
-include ../config.mk
LDLIBS = -framework Cocoa
all: sandman
clean:
rm -f sandman
install: sandman sandman.1
install -d ${DESTDIR}${BINDIR} ${DESTDIR}${MANDIR}/man1
install sandman ${DESTDIR}${BINDIR}
install -m 644 sandman.1 ${DESTDIR}${MANDIR}/man1
uninstall:
rm -f ${DESTDIR}${BINDIR}/sandman ${DESTDIR}/man/man1/sandman.1
|