aboutsummaryrefslogtreecommitdiff
path: root/js/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'js/Makefile')
-rw-r--r--js/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/Makefile b/js/Makefile
index 87afef1..02678fb 100644
--- a/js/Makefile
+++ b/js/Makefile
@@ -4,9 +4,9 @@ TESTS = tests/types.js tests/reader.js tests/step5_tco.js
SOURCES_BASE = node_readline.js types.js reader.js printer.js
SOURCES_LISP = env.js core.js stepA_more.js
SOURCES = $(SOURCES_BASE) $(SOURCES_LISP)
-WEB_SOURCES = $(SOURCES:node_readline.js=josh_readline.js)
+WEB_SOURCES = $(SOURCES:node_readline.js=jq_readline.js)
-all: node_modules mal.js mal_web.js
+all: node_modules mal.js web/mal.js
node_modules:
npm install
@@ -16,11 +16,11 @@ mal.js: $(SOURCES)
cat $+ | grep -v "= *require('./" >> $@
chmod +x $@
-mal_web.js: $(WEB_SOURCES)
+web/mal.js: $(WEB_SOURCES)
cat $+ | grep -v "= *require('./" > $@
clean:
- rm -f mal.js mal_web.js
+ rm -f mal.js web/mal.js
.PHONY: stats tests $(TESTS)