branch: externals/shell-command+
commit 20b5602df8dcf29e469d71c21faa77d8aff52efc
Author: Philip Kaludercic <[email protected]>
Commit: Philip Kaludercic <[email protected]>

    Add a basic Makefile
---
 Makefile | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000000..a1366a8caf
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,20 @@
+.POSIX:
+.PHONY: all compile test clean
+.SUFFIXES: .el .elc
+
+EMACS = emacs
+BYTEC = shell-command+.elc
+
+all: compile
+
+compile: $(BYTEC)
+
+test: compile
+       $(EMACS) --version
+       $(EMACS) -Q --batch -L . -l shell-command+-tests.el -f 
ert-run-tests-batch-and-exit
+
+clean:
+       $(RM) $(BYTEC) compat.info
+
+.el.elc:
+       $(EMACS) -Q --batch -L . -f batch-byte-compile $<

Reply via email to