aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorLibravatar Martin Michalec <martin@michalec.dev>2026-11-10 05:58:05 +0000
committerLibravatar Martin Michalec <martin@michalec.dev>2026-11-10 06:07:10 +0000
commit46ca10dd122b52374272f636d09ca0831c3378e7 (patch)
tree9f5763193b6011deaf49016b004d946906fa4698 /build.sh
downloadlab-04-master.tar.gz
publishHEADmaster
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..f49c369
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,12 @@
1#!/bin/sh
2
3set -xe
4
5gcc -O3 -march=native \
6 -ggdb3 \
7 -Wall -Wextra -Wno-parentheses \
8 -Wno-unused-variable -Wno-unused-parameter \
9 -D_GNU_SOURCE \
10 -I./src -o genetic-programming \
11 -lm \
12 ./src/genetic-programming.c