aboutsummaryrefslogtreecommitdiff
path: root/rust/Makefile
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2014-10-25 16:51:52 -0500
committerJoel Martin <github@martintribe.org>2015-01-06 21:58:58 -0600
commit4ee7c0f2970accc0f49eeac7fb2a0359b159c8ae (patch)
tree91aee7451aefe68050ec797f6054c205df2358cf /rust/Makefile
parent85bec8a08b76b5b4797ddd9976a138b22974e1c4 (diff)
downloadmal-4ee7c0f2970accc0f49eeac7fb2a0359b159c8ae.tar.gz
mal-4ee7c0f2970accc0f49eeac7fb2a0359b159c8ae.zip
rust: add step7_quote. Refactor with type constructors.
Diffstat (limited to 'rust/Makefile')
-rw-r--r--rust/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/rust/Makefile b/rust/Makefile
index b4849d3..0e0cb05 100644
--- a/rust/Makefile
+++ b/rust/Makefile
@@ -3,20 +3,20 @@
SOURCES_BASE = src/types.rs src/readline.rs \
src/reader.rs src/printer.rs \
src/env.rs src/core.rs
-SOURCES_LISP = src/step6_file.rs
+SOURCES_LISP = src/env.rs src/core.rs src/step7_quote.rs
SOURCES = $(SOURCES_BASE) $(SOURCES_LISP)
#####################
SRCS = step0_repl.rs step1_read_print.rs step2_eval.rs step3_env.rs \
- step4_if_fn_do.rs step5_tco.rs step6_file.rs
+ step4_if_fn_do.rs step5_tco.rs step6_file.rs step7_quote.rs
BINS = $(SRCS:%.rs=target/%)
#####################
all: $(BINS) mal
-mal: ${SOURCES_BASE} ${SOURCES_LISP}
+mal: ${SOURCES_BASE} $(word $(words ${SOURCES_LISP}),${SOURCES_LISP})
cargo build
cp $(word $(words ${BINS}),${BINS}) $@