mirror of
https://github.com/kanaka/mal.git
synced 2024-11-11 00:52:44 +03:00
15 lines
348 B
Makefile
15 lines
348 B
Makefile
|
|
||
|
SOURCES = step0_repl.js step1_read_print.js
|
||
|
|
||
|
all: $(foreach s,$(SOURCES),build/$(s))
|
||
|
|
||
|
build/%.js: %.js
|
||
|
babel --source-maps true $< --out-file $@
|
||
|
|
||
|
build/step0_repl.js: step0_repl.js build/node_readline.js
|
||
|
|
||
|
build/step1_read_print.js: step1_read_print.js build/node_readline.js build/types.js build/reader.js build/printer.js
|
||
|
|
||
|
clean:
|
||
|
rm -f build/*
|