aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
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