diff options
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r-- | emacs/.emacs.d/GNUmakefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/emacs/.emacs.d/GNUmakefile b/emacs/.emacs.d/GNUmakefile new file mode 100644 index 0000000..e6136b3 --- /dev/null +++ b/emacs/.emacs.d/GNUmakefile @@ -0,0 +1,12 @@ +EMACS = /usr/bin/emacs + +init.elc: + +%.el: %.org + $(EMACS) -batch -eval "(progn \ + (package-initialize) \ + (require 'ob-tangle) \ + (org-babel-tangle-file \"$<\" \"$@\" \"emacs-lisp\"))" + +%.elc: %.el + $(EMACS) -batch -eval "(byte-compile-file \"$<\")" |