blob: c79e7a9719bdc697324d7252d91838259ff6df95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
E=@echo
TEMP=temp.el
EMACS ?= emacs
all: $(TEMP)
$(EMACS) -batch -q -no-site-file -l ./$(TEMP) -f rustmode-compile
rm -f $(TEMP)
$(TEMP):
$(E) '(setq load-path (cons "." load-path))' >> $(TEMP)
$(E) '(defun rustmode-compile () (mapcar (lambda (x) (byte-compile-file x))' >> $(TEMP)
$(E) ' (list "cm-mode.el" "rust-mode.el")))' >> $(TEMP)
clean:
rm -f *.elc $(TEMP)
|