summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4d20e62..ceaaf38 100644
--- a/Makefile
+++ b/Makefile
@@ -40,6 +40,17 @@ install: catgirl catgirl.1
 uninstall:
 	rm -f ${PREFIX}/bin/catgirl ${MANDIR}/man1/catgirl.1.gz
 
+scripts/sandman: scripts/sandman.o
+	${CC} ${LDFLAGS} scripts/sandman.o -framework Cocoa -o $@
+
+install-sandman: scripts/sandman scripts/sandman.1
+	install -d ${PREFIX}/bin ${MANDIR}/man1
+	install scripts/sandman ${PREFIX}/bin
+	gzip -c scripts/sandman.1 > ${MANDIR}/man1/sandman.1.gz
+
+uninstall-sandman:
+	rm -f ${PREFIX}/bin/sandman ${MANDIR}/man1/sandman.1.gz
+
 CHROOT_USER = chat
 CHROOT_GROUP = ${CHROOT_USER}