From c00c305fc71068d3db76c63c959670dbf0f8dff5 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 20 May 2019 16:26:45 +0530 Subject: Add build and clean targets to Makefile. * Makefile (build, clean): New targets. --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index eb74cad..6bf7413 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,11 @@ EMACS = emacs -.PHONY: check +.PHONY: build check clean +build: + $(EMACS) -Q --batch -L . --eval="(progn (setq byte-compile-debug t) (byte-recompile-directory \".\" 0))" + check: $(EMACS) -Q --batch -L . -l tests/exiftool-tests.el -f ert-run-tests-batch-and-exit + +clean: + rm -vf *.elc tests/*.elc -- cgit v1.2.3