3 # Compile with noninteractive and relatively clean environment.
4 BATCHFLAGS
= -batch
-q
--no-site-file
6 SRCS
= js2-mode.el js2-imenu-extras.el
8 OBJS
= $(SRCS
:.el
=.elc
)
11 emacs
$(BATCHFLAGS
) -f batch-byte-compile
$^
18 # custom build (require loads)
19 js2-imenu-extras.elc
: js2-mode.elc
20 emacs
$(BATCHFLAGS
) -l .
/js2-mode.elc
-f batch-byte-compile
$*.el
23 emacs
$(BATCHFLAGS
) -l js2-mode.el
-l tests
/ast.el
-f ert-run-tests-batch