diff options
| author | Steven Van Dorp <steven@vandorp.lu> | 2026-02-06 10:00:08 +0100 |
|---|---|---|
| committer | Steven Van Dorp <steven@vandorp.lu> | 2026-02-06 10:00:08 +0100 |
| commit | 0d8aeb6464103ec8e35c10c448bf08b0b9edc156 (patch) | |
| tree | 80ab47bf3e0f137856d8494753e774c8456c85c8 /bindings/run_c.sh | |
Diffstat (limited to 'bindings/run_c.sh')
| -rwxr-xr-x | bindings/run_c.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bindings/run_c.sh b/bindings/run_c.sh new file mode 100755 index 0000000..a726818 --- /dev/null +++ b/bindings/run_c.sh @@ -0,0 +1,9 @@ +#!/bin/sh +set -e +gcc --std=c99 -g \ + -Wall -Wextra -Wpedantic \ + -Wno-override-init \ + main.c \ + -L../zig-out/lib -lminimgui +export LD_LIBRARY_PATH=../zig-out/lib/;./a.out + |
