Makefile 495 B

12345678910111213141516171819202122
  1. # This is not a full-featured Makefile and it is not intended to be used
  2. # to install 'shift-number' package to your system. Its only purpose is
  3. # to byte-compile "shift-number.el" (using 'make') to make sure that
  4. # there are no compilation warnings.
  5. EMACS = emacs
  6. LOAD_PATH = -L .
  7. EMACS_BATCH = $(EMACS) -batch -Q $(LOAD_PATH)
  8. ELS = shift-number.el
  9. ELCS = $(ELS:.el=.elc)
  10. all: $(ELCS)
  11. %.elc: %.el
  12. @printf "Compiling $<\n"
  13. @$(EMACS_BATCH) -f batch-byte-compile $<
  14. clean:
  15. $(RM) $(ELCS)