summaryrefslogtreecommitdiff
path: root/Makefile
blob: f875595d1655f9af1a0aa66a37fdc17b9f9f1008 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
EMACS ?= emacs

all: pcre2el.elc

clean:
	rm -f *.elc

%.elc: %.el
	$(EMACS) --batch -L . --funcall batch-byte-compile "$<"

test: clean all
	$(EMACS) --batch -L . -l pcre2el-tests --funcall rxt-run-tests

test-interactive: clean all
	$(EMACS) -Q -nw -L . -l pcre2el-tests --funcall rxt-run-tests

sandbox: all
	$(EMACS) -Q -L . -l pcre2el

.PHONY: all test test-interactive sandbox