aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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: