aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCamil Staps2018-12-24 00:02:35 +0100
committerCamil Staps2018-12-24 00:05:35 +0100
commit60dc2fefdfe2e311c656a3a3e9c6260f06d889ff (patch)
treec02f839b0d86c682c7f90c72c81d241f241dff27 /Makefile
parentInitial commit (diff)
Nicer output, add CI
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: