5 # Compile with noninteractive and relatively clean environment.
6 BATCHFLAGS
= -batch
-q
--no-site-file
8 SRCS
= js2-mode.el js2-imenu-extras.el
10 OBJS
= $(SRCS
:.el
=.elc
)
13 ${EMACS} $(BATCHFLAGS
) -f batch-byte-compile
$^
20 # custom build (require loads)
21 js2-imenu-extras.elc
: js2-mode.elc
22 ${EMACS} $(BATCHFLAGS
) -l .
/js2-mode.elc
-f batch-byte-compile
$*.el
25 ${EMACS} $(BATCHFLAGS
) -L .
-l js2-mode.el
-l js2-old-indent.el
-l tests
/parser.el\
26 -l tests
/indent.el
-l tests
/externs.el
-f ert-run-tests-batch-and-exit