-
-
Notifications
You must be signed in to change notification settings - Fork 61
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (19 loc) · 569 Bytes
/
Makefile
File metadata and controls
26 lines (19 loc) · 569 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
EMACS ?= emacs
SOURCES=diff-hl.el
SOURCES+=diff-hl-amend.el
SOURCES+=diff-hl-dired.el
SOURCES+=diff-hl-flydiff.el
SOURCES+=diff-hl-inline-popup.el
SOURCES+=diff-hl-margin.el
SOURCES+=diff-hl-show-hunk-posframe.el
SOURCES+=diff-hl-show-hunk.el
ARTIFACTS=$(patsubst %.el, %.elc, $(SOURCES))
RM ?= rm -f
all: compile test
test:
$(EMACS) -batch -L . -l test/diff-hl-test.el -l test/diff-hl-adjust-test.el -f ert-run-tests-batch-and-exit
compile:
$(EMACS) -batch -L . -f batch-byte-compile $(SOURCES)
clean:
$(RM) $(ARTIFACTS)
.PHONY: all test compile plain clean