blob: 571841efabcfcd9e4fae671eebc763693612cb3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
EMACS ?= emacs
RM ?= rm
ELC = gnome-c-align.elc gnome-c-snippet.elc gnome-c-style.elc
all: $(ELC)
%.elc: %.el
$(EMACS) -Q -batch --eval "(setq load-path (cons nil load-path))" \
-f batch-byte-compile $<
check:
$(EMACS) -Q -batch --eval "(setq load-path (cons nil load-path))" \
-l ert -l gnome-c-tests.el -f ert-run-tests-batch-and-exit
clean:
$(RM) -rf $(ELC)
|