aboutsummaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-09-19 21:22:41 +0200
committerWojciech Kosior <kwojtus@protonmail.com>2020-09-19 21:22:41 +0200
commit605ac7f13be9f597d3cf7ab3786b71f5cda8c9fa (patch)
treeb3c7a166f33d9d1ff35cbc1ede202dd89903e81e /tools/Makefile
parent780f056e61323a41abcaf0dd53a44f99bcac197c (diff)
downloadAGH-engineering-thesis-605ac7f13be9f597d3cf7ab3786b71f5cda8c9fa.tar.gz
AGH-engineering-thesis-605ac7f13be9f597d3cf7ab3786b71f5cda8c9fa.zip
initial work towards translating wasm to stack machine (with a provisional bench)
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile
new file mode 100644
index 0000000..8634a5c
--- /dev/null
+++ b/tools/Makefile
@@ -0,0 +1,18 @@
+include ../Makefile.config
+
+include Makefile.tools
+
+all : $(TOOLS)
+
+# I know, this can be done better...
+%.o : *.h
+
+wasm_compile : wasm_compile.o assemble.o parse_module.o translate.o
+
+VGAdump2ppm : VGAdump2ppm.o
+
+clean :
+ rm *.o 2>/dev/null || true
+ find . -executable -type f -delete
+
+.PHONY : clean all