Makefile 478 B

12345678910111213141516171819202122
  1. # This is not a full-featured Makefile and it is not intended to be used
  2. # to install journal package to your system. Its only purpose is to
  3. # byte-compile "journal.el" (using 'make') to make sure that there are
  4. # no compilation warnings.
  5. EMACS = emacs
  6. LOAD_PATH = -L .
  7. EMACS_BATCH = $(EMACS) -batch -Q $(LOAD_PATH)
  8. ELS = journal.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)