3 SOURCES_BASE
= types.nim reader.nim printer.nim
4 SOURCES_LISP
= env.nim core.nim stepA_mal.nim
5 SOURCES
= $(SOURCES_BASE
) $(SOURCES_LISP
)
9 SRCS
= step0_repl.nim step1_read_print.nim step2_eval.nim step3_env.nim \
10 step4_if_fn_do.nim step5_tco.nim step6_file.nim step7_quote.nim \
11 step8_macros.nim step9_try.nim stepA_mal.nim
12 BINS
= $(SRCS
:%.nim
=%)
18 mal
: $(word $(words $(BINS
)),$(BINS
))
25 rm -rf nimcache
/ $(BINS
)
28 .PHONY
: stats stats-lisp
32 stats-lisp
: $(SOURCES_LISP
)