summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bc18153..ec3c8b2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,12 @@
 XDG_CONFIG=$(HOME)/.config/
 LN = @ln -sf
+default: all
+
+$(PWD)/emacs/var:
+	@mkdir -p $(PWD)/emacs/var
 
 .PHONY: emacs
-emacs:
+emacs: $(PWD)/emacs/var
 	$(LN) $(PWD)/emacs $(XDG_CONFIG)
 
 .PHONY: setup