aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCamil Staps2018-12-23 23:55:56 +0100
committerCamil Staps2018-12-23 23:55:56 +0100
commit9ccf8a561345641ad083d90b5f301ebcc7a61f47 (patch)
treeb758e6c987151b2f346ca8820f300a1ed40ab4c9 /Makefile
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..c4dbdac
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,20 @@
+CLM:=clm
+CLMFLAGS:=-IL Platform
+
+BIN:=sjit
+
+all: $(BIN)
+
+$(BIN): %: %.icl Clean\ System\ Files/sjit_c.o .FORCE
+ $(CLM) $(CLMFLAGS) $@ -o $@
+
+Clean\ System\ Files/sjit_c.o: sjit_c.c
+ mkdir -p Clean\ System\ Files
+ $(CC) $(CFLAGS) -c $< -o '$@'
+
+clean:
+ $(RM) -r $(BIN) Clean\ System\ Files
+
+.PHONY: all clean
+
+.FORCE: