Skip to content

Commit

Permalink
Merge pull request #37 from artagnon/make
Browse files Browse the repository at this point in the history
Makefile: introduce all, clean targets
  • Loading branch information
lewang committed Jul 28, 2013
2 parents e24352a + ce2d375 commit 27bc478
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion Makefile
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 27bc478

Please sign in to comment.