catgirl/scripts/Makefile

23 lines
431 B
Makefile
Raw Normal View History

2022-02-13 01:19:18 +00:00
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