summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPhyscik <mynameisgennadiy@vk.com>2025-12-15 15:26:38 +0500
committerPhyscik <mynameisgennadiy@vk.com>2025-12-15 15:26:38 +0500
commit942d5d8b84f55d71a275a7d6f3446587ab7368a3 (patch)
tree92d5dfa321f0b2b41a2b2cabd1d770c4febc9289 /Makefile
Wasm build pipeline
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..1f14348
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,6 @@
+all: build_wasm
+ cd inter; go run .
+
+build_wasm:
+ emcc hello.c -sEXPORTED_FUNCTIONS="_Add" -o hello.wasm --no-entry
+