branch: externals/shift-number
commit 447f5529dafedcd1dd1a72bb9a54002c013320f9
Author: Alex Kost <[email protected]>
Commit: Alex Kost <[email protected]>

    Add Makefile
---
 Makefile | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000000..17ca806ac7
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,21 @@
+# This is not a full-featured Makefile and it is not intended to be used
+# to install 'shift-number' package to your system.  Its only purpose is
+# to byte-compile "shift-number.el" (using 'make') to make sure that
+# there are no compilation warnings.
+
+EMACS = emacs
+
+LOAD_PATH = -L .
+EMACS_BATCH = $(EMACS) -batch -Q $(LOAD_PATH)
+
+ELS = shift-number.el
+ELCS = $(ELS:.el=.elc)
+
+all: $(ELCS)
+
+%.elc: %.el
+       @printf "Compiling $<\n"
+       @$(EMACS_BATCH) -f batch-byte-compile $<
+
+clean:
+       $(RM) $(ELCS)

Reply via email to