diff options
author | Camil Staps | 2018-12-23 23:55:56 +0100 |
---|---|---|
committer | Camil Staps | 2018-12-23 23:55:56 +0100 |
commit | 9ccf8a561345641ad083d90b5f301ebcc7a61f47 (patch) | |
tree | b758e6c987151b2f346ca8820f300a1ed40ab4c9 /Makefile |
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 20 |
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: |