5 SOURCES
= readline.cs types.cs reader.cs printer.cs env.cs core.cs \
8 OTHER_SOURCES
= getline.cs
12 SRCS
= step0_repl.cs step1_read_print.cs step2_eval.cs step3_env.cs \
13 step4_if_fn_do.cs step5_tco.cs step6_file.cs
15 LIB_SRCS
= $(filter-out step
%,$(OTHER_SOURCES
) $(SOURCES
))
21 all: mal.exe
$(patsubst %.cs
,%.exe
,$(SRCS
))
23 mal.exe
: $(patsubst %.cs
,%.exe
,$(word $(words $(SOURCES
)),$(SOURCES
)))
27 mcs
$(FLAGS
) -target
:library
$+ -out
:$@
30 mcs
$(FLAGS
) -r
:mal.dll
$<
33 rm -f
*.dll
*.exe
*.mbd
35 .PHONY
: stats tests
$(TESTS
)