12 lines
333 B
Makefile
12 lines
333 B
Makefile
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 \"$<\")"
|