aboutsummaryrefslogtreecommitdiff
path: root/cs/Makefile
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2014-04-06 23:58:14 -0500
committerJoel Martin <github@martintribe.org>2014-04-06 23:58:14 -0500
commitb18969c0b8d47d67d4b73b5b20742a0bc3179e72 (patch)
tree5c3eb2c1545857801ff5e64504bdd2a2ee49aac0 /cs/Makefile
parentb56c49a12dad20c55fbf07775b536c9d656af313 (diff)
downloadmal-b18969c0b8d47d67d4b73b5b20742a0bc3179e72.tar.gz
mal-b18969c0b8d47d67d4b73b5b20742a0bc3179e72.zip
CS: add step3_env
Also, make Makefile more closely match the C Makefile.
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 $< $@