summaryrefslogtreecommitdiff
path: root/.zsh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '.zsh/Makefile')
-rw-r--r--.zsh/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/.zsh/Makefile b/.zsh/Makefile
new file mode 100644
index 0000000..3593740
--- /dev/null
+++ b/.zsh/Makefile
@@ -0,0 +1,13 @@
+HOME=/home/urbain
+TARGETS=$(addprefix $(HOME)/,.zsh .zshrc)
+
+all : $(TARGETS)
+
+$(HOME)/.zshrc :
+ rm -f $@ && ln -s $(PWD)/zshrc $@
+
+$(HOME)/.zsh :
+ rm -f $@ && ln -s $(PWD) $@
+
+clean :
+ rm -f $(TARGETS)