summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Shepherd <davidshepherd7@gmail.com>2017-03-16 08:44:11 +0000
committerDavid Shepherd <davidshepherd7@gmail.com>2017-03-16 08:47:15 +0000
commite67f64a1b655462730a113af88b8089d3c7d22d1 (patch)
tree951a7ac3f6e4cded5ccbc4e70fcfc4810cbbc147 /Makefile
parentInitial code (diff)
downloademacs-terminal-here-e67f64a1b655462730a113af88b8089d3c7d22d1.tar.gz
Add build system
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..db738f9
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
+EMACS=emacs
+CASK ?= cask
+
+build :
+ cask exec $(EMACS) -Q --batch --eval \
+ "(progn \
+ (setq byte-compile-error-on-warn t) \
+ (batch-byte-compile))" terminal-here.el
+
+clean :
+ @rm -f *.elc
+
+install:
+ ${CASK} install
+
+.PHONY: all test install clean build