From 891c3f3b478292ad0bfca44b0dc098a2aecc9a5d Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Sat, 8 Nov 2014 16:56:36 -0600 Subject: CoffeeScript: add all steps. Self-hosting. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 860821a..3367582 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,8 @@ PYTHON = python # Settings # -IMPLS = bash c clojure cs go java js make mal perl php ps python r ruby rust +IMPLS = bash c clojure coffee cs go java js make mal perl php ps \ + python r ruby rust step0 = step0_repl step1 = step1_read_print @@ -50,6 +51,7 @@ STEP_TEST_FILES = $(strip $(wildcard $(1)/tests/$($(2)).mal) $(wildcard tests/$( bash_STEP_TO_PROG = bash/$($(1)).sh c_STEP_TO_PROG = c/$($(1)) clojure_STEP_TO_PROG = clojure/src/$($(1)).clj +coffee_STEP_TO_PROG = coffee/$($(1)).coffee cs_STEP_TO_PROG = cs/$($(1)).exe go_STEP_TO_PROG = go/$($(1)) java_STEP_TO_PROG = java/src/main/java/mal/$($(1)).java @@ -68,6 +70,7 @@ rust_STEP_TO_PROG = rust/target/$($(1)) bash_RUNSTEP = bash ../$(2) $(3) c_RUNSTEP = ../$(2) $(3) clojure_RUNSTEP = lein with-profile +$(1) trampoline run $(3) +coffee_RUNSTEP = coffee ../$(2) $(3) cs_RUNSTEP = mono ../$(2) --raw $(3) go_RUNSTEP = ../$(2) $(3) java_RUNSTEP = mvn -quiet exec:java -Dexec.mainClass="mal.$($(1))" -Dexec.args="--raw$(if $(3), $(3),)" -- cgit v1.2.3