From b18969c0b8d47d67d4b73b5b20742a0bc3179e72 Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Sun, 6 Apr 2014 23:58:14 -0500 Subject: CS: add step3_env Also, make Makefile more closely match the C Makefile. --- cs/Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'cs/Makefile') 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 $< $@ -- cgit v1.2.3