summaryrefslogtreecommitdiffstats
path: root/example/build
diff options
context:
space:
mode:
authorEthan Werner <mail@ethanwerner.com>2024-04-17 16:00:00 -0700
committerEthan Werner <mail@ethanwerner.com>2026-06-08 16:01:49 +0400
commitf6a144987cc403de8ad6bddd055f756120f8d405 (patch)
tree3b4cfc8c76db7adba8504dc0e079466e2a0d336c /example/build
archival commit
Diffstat (limited to 'example/build')
-rwxr-xr-xexample/build6
1 files changed, 6 insertions, 0 deletions
diff --git a/example/build b/example/build
new file mode 100755
index 0000000..b6c600f
--- /dev/null
+++ b/example/build
@@ -0,0 +1,6 @@
+EXAMPLES=$(ls -1 --color=never *.c | sed 's/\.c//')
+
+for EXAMPLE in $EXAMPLES
+do
+ gcc -g -fno-fast-math -O0 -o $EXAMPLE $EXAMPLE.c -lm
+done