summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMC <mc@hack.org>2010-06-24 17:32:16 +0200
committerMC <mc@hack.org>2010-06-24 17:32:16 +0200
commit80cf01b564ffc4ea0a4812e499aca421e34abb09 (patch)
tree28f947be9d58db6ef09c4a421e0de12527308929
parent941b000274d9ed5598fdcddf9b4b9a7330c416d5 (diff)
downloadmcwm-80cf01b564ffc4ea0a4812e499aca421e34abb09.zip
Simple install target.
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index cd92e2a..9d66a55 100644
--- a/Makefile
+++ b/Makefile
@@ -22,6 +22,12 @@ mcwm-static: mcwm.c config.h
-lxcb -lxcb-keysyms -lxcb-icccm -lxcb-atom -lxcb-property \
-lxcb-event -lXau -lXdmcp
+install: $(TARGETS)
+ install -m 755 mcwm $(PREFIX)/bin
+
+deinstall:
+ $(RM) $(PREFIX)/bin/mcwm
+
$(DIST).tar.bz2:
mkdir $(DIST)
cp $(DISTFILES) $(DIST)/