2 TESTS
= tests
/types.js tests
/reader.js tests
/step5_tco.js
4 SOURCES_BASE
= node_readline.js types.js reader.js printer.js
5 SOURCES_LISP
= env.js core.js stepA_more.js
6 SOURCES
= $(SOURCES_BASE
) $(SOURCES_LISP
)
7 WEB_SOURCES
= $(SOURCES
:node_readline.js
=jq_readline.js
)
9 all: node_modules mal.js web
/mal.js
15 echo
"#!/usr/bin/env node" > $@
16 cat
$+ | grep
-v
"= *require('./" >> $@
19 web
/mal.js
: $(WEB_SOURCES
)
20 cat
$+ | grep
-v
"= *require('./" > $@
23 rm -f mal.js web
/mal.js
25 .PHONY
: stats tests
$(TESTS
)
29 stats-lisp
: $(SOURCES_LISP
)