aboutsummaryrefslogtreecommitdiff
path: root/cs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cs/Makefile')
-rw-r--r--cs/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/cs/Makefile b/cs/Makefile
index 7a56e5d..bf8a8ef 100644
--- a/cs/Makefile
+++ b/cs/Makefile
@@ -2,20 +2,22 @@
TESTS =
-SOURCES = readline.cs types.cs reader.cs printer.cs \
- step0_repl.cs step1_read_print.cs step2_eval.cs
+SOURCES = readline.cs types.cs reader.cs printer.cs env.cs core.cs \
+ step3_env.cs
+
OTHER_SOURCES = getline.cs
#####################
-FLAGS = -debug+
+SRCS = step0_repl.cs step1_read_print.cs step2_eval.cs step3_env.cs
-OBJS =
LIB_SRCS = $(filter-out step%,$(OTHER_SOURCES) $(SOURCES))
+FLAGS = -debug+
+
#####################
-all: mal.exe $(patsubst %.cs,%.exe,$(filter step%,$(SOURCES)))
+all: mal.exe $(patsubst %.cs,%.exe,$(SRCS))
mal.exe: $(patsubst %.cs,%.exe,$(word $(words $(SOURCES)),$(SOURCES)))
cp $< $@