dotemacs

My Emacs configuration
git clone git://git.entf.net/dotemacs
Log | Files | Refs | LICENSE

Makefile (527B)


      1 EMACS ?= emacs
      2 SOURCES=diff-hl.el
      3 SOURCES+=diff-hl-amend.el
      4 SOURCES+=diff-hl-dired.el
      5 SOURCES+=diff-hl-flydiff.el
      6 SOURCES+=diff-hl-inline-popup.el
      7 SOURCES+=diff-hl-margin.el
      8 SOURCES+=diff-hl-show-hunk-posframe.el
      9 SOURCES+=diff-hl-show-hunk.el
     10 
     11 ARTIFACTS=$(patsubst %.el, %.elc, $(SOURCES))
     12 
     13 RM ?= rm -f
     14 
     15 all: compile test
     16 
     17 test:
     18 	$(EMACS) -batch -L . -l test/diff-hl-test.el -f diff-hl-run-tests
     19 
     20 compile:
     21 	$(EMACS) -batch -L . -f batch-byte-compile $(SOURCES)
     22 
     23 clean:
     24 	$(RM) $(ARTIFACTS)
     25 
     26 .PHONY: all test compile plain clean