summaryrefslogtreecommitdiff
path: root/run_example
diff options
context:
space:
mode:
authorkkard2 <[email protected]>2025-09-22 22:13:10 +0200
committerkkard2 <[email protected]>2025-09-22 22:13:10 +0200
commitbcfd31ce9ea9ea067b285a78eb747e3d68561bca (patch)
tree6e2ffc638dbd89dae0709bb30f8abfa40188eb98 /run_example
parent42d3b218942d7ece8a15ef9298c8cd13974aa4c9 (diff)
make x11 run again
Diffstat (limited to 'run_example')
-rwxr-xr-x[-rw-r--r--]run_example3
1 files changed, 2 insertions, 1 deletions
diff --git a/run_example b/run_example
index f34e57a..80d6c10 100644..100755
--- a/run_example
+++ b/run_example
@@ -1,2 +1,3 @@
#!/bin/bash
-cc -o platform_x11 platform_x11.c -lX11 -Wall -Wextra -g && ./platform_x11
+cc -o example examples/platform/platform_x11.c examples/$1 \
+ -lX11 -lm -Wall -Wextra -Wno-type-limits -Wno-pointer-sign -g && ./example