aboutsummaryrefslogtreecommitdiff
path: root/nim/Makefile
diff options
context:
space:
mode:
authordef <dennis@felsin9.de>2015-03-01 21:46:19 +0100
committerdef <dennis@felsin9.de>2015-03-02 16:08:54 +0100
commit4ce9e165bafb4f14b03624f515066c3c42719dd9 (patch)
treee488eca49b0d547f9de8400b57d1cf576252db6f /nim/Makefile
parent8de9f3085c2f251c0b38ca28e5a66e9f66f9d968 (diff)
downloadmal-4ce9e165bafb4f14b03624f515066c3c42719dd9.tar.gz
mal-4ce9e165bafb4f14b03624f515066c3c42719dd9.zip
Nim: stepA
Diffstat (limited to 'nim/Makefile')
-rw-r--r--nim/Makefile35
1 files changed, 0 insertions, 35 deletions
diff --git a/nim/Makefile b/nim/Makefile
deleted file mode 100644
index 8f85496..0000000
--- a/nim/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#####################
-
-SOURCES_BASE = types.nim reader.nim printer.nim
-#SOURCES_LISP = env.nim core.nim stepA_interop.nim
-SOURCES = $(SOURCES_BASE) $(SOURCES_LISP)
-
-#####################
-
-SRCS = step0_repl.nim step1_read_print.nim step2_eval.nim
-BINS = $(SRCS:%.nim=%)
-
-#####################
-
-all: $(BINS) mal
-
-mal: $(word $(words $(BINS)),$(BINS))
- #nimble build
- cp $< $@
-
-define dep_template
-$(1): $(SOURCES_BASE) $(1).nim
- nim c $$@
-endef
-$(foreach b,$(BINS),$(eval $(call dep_template,$(b))))
-
-clean:
- rm -rf nimcache/ $(BINS)
- rm -f mal
-
-.PHONY: stats stats-lisp
-
-stats: $(SOURCES)
- @wc $^
-#stats-lisp: $(SOURCES_LISP)
-# @wc $^