aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 73c9b10..6085945 100644
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,12 @@ version:
clean:
@rm -rf $(TOP)vendor/* $(PKG)-autoloads.el* $(OBJECTS)
+.PHONY: build
+build: $(OBJECTS)
+
+$(OBJECTS): %.elc: %.el
+ @$(BATCH) --kill -l bytecomp --eval '(byte-recompile-file (expand-file-name "$(TOP)$<") nil 0)'
+
##
# Test