summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorRaymaekers Luca <luca@spacehb.net>2025-07-12 16:13:16 +0200
committerRaymaekers Luca <luca@spacehb.net>2025-07-12 16:13:16 +0200
commit4ea5261f32ec8acd4cdad7c364f57e6ebc86866a (patch)
tree4902a807134e971dc0601083b7f110f527cf429a /build.sh
checkpoint
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..79d0e2c
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+printf 'graphics.c\n'
+clang \
+ --target=wasm32 \
+ -O2 \
+ -nostdlib \
+ -Wl,--no-entry \
+ -Wl,--export-all \
+ -o graphics.wasm \
+ graphics.c