Skip to content

Commit

Permalink
Makefile: introduce all, clean targets
Browse files Browse the repository at this point in the history
To batch-byte-compile flx.el and flx-ido.el.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
  • Loading branch information
artagnon committed Jul 26, 2013
1 parent 0c41fc6 commit ce2d375
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,16 @@ EMACS=emacs
EMACS23=emacs23
EMACS-OPTIONS=

.PHONY: test test-nw travis-ci show-version before-test
ELS = flx.el
ELS += flx-ido.el
ELCS = $(ELS:.el=.elc)

.PHONY: test test-nw travis-ci show-version before-test clean

all: $(ELCS)

clean:
$(RM) $(ELCS)

show-version: show-version
echo "*** Emacs version ***"
Expand All @@ -24,3 +33,6 @@ test-nw: before-test
travis-ci: before-test
echo ${EMACS-OPTIONS}
${EMACS} -batch -Q -l tests/run-test.el

%.elc: %.el
${EMACS} -batch -Q -L . -f batch-byte-compile $<

0 comments on commit ce2d375

Please sign in to comment.