aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c4dbdac..4cbd9d9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,13 @@
CLM:=clm
-CLMFLAGS:=-IL Platform
+CLMFLAGS:=-IL Platform -nr -nt
BIN:=sjit
all: $(BIN)
+test: $(BIN)
+ ./$<
+
$(BIN): %: %.icl Clean\ System\ Files/sjit_c.o .FORCE
$(CLM) $(CLMFLAGS) $@ -o $@
@@ -15,6 +18,6 @@ Clean\ System\ Files/sjit_c.o: sjit_c.c
clean:
$(RM) -r $(BIN) Clean\ System\ Files
-.PHONY: all clean
+.PHONY: all test clean
.FORCE: