diff options
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..3cb9189 --- /dev/null +++ b/build.sh | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | # gcc -Wl,-rpath,$HOME/.guix-profile/lib/ -lncurses -o ncurses-test src/ncurses-test.c | ||
| 4 | gcc -O3 -march=native \ | ||
| 5 | -std=gnu99 -D_GNU_SOURCE -ggdb3 \ | ||
| 6 | -Wall -Wextra \ | ||
| 7 | -Wno-unused-parameter -Wno-unused-variable \ | ||
| 8 | -Wno-format-truncation -Wno-restrict \ | ||
| 9 | -Wno-missing-braces -Wno-missing-field-initializers \ | ||
| 10 | -Isrc -o chat-server \ | ||
| 11 | src/chat-server.c | ||
