Commit | Line | Data |
---|---|---|
db885df9 | 1 | STEPS = step0_repl step1_read_print step2_eval step3_env \ |
2 | step4_if_fn_do step5_tco step6_file step7_quote \ | |
3 | step8_macros step9_try stepA_mal | |
4 | ||
5 | all: ts | |
571eb786 | 6 | |
7 | node_modules: | |
8 | npm install | |
9 | ||
dd7a4f55 | 10 | step%.js: node_modules types.ts reader.ts printer.ts env.ts core.ts step%.ts |
c527d565 | 11 | ./node_modules/.bin/tsc -p ./ |
571eb786 | 12 | |
571eb786 | 13 | |
c4269f9b | 14 | .PHONY: ts clean |
571eb786 | 15 | |
db885df9 | 16 | ts: $(foreach s,$(STEPS),$(s).js) |
17 | ||
18 | clean: | |
19 | rm -f *.js |