diff options
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 12 |
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 | |||
| 3 | set -xe | ||
| 4 | |||
| 5 | gcc -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 | ||
