diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-11-26 16:15:52 +0100 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-11-26 16:15:52 +0100 |
commit | 51de26be505c781dd17e4c1ff90dd1f4c46899b9 (patch) | |
tree | 28b0c596c866253a9ff8e1ef64d62ac6f7d41057 /build.sh | |
parent | 3060303b36dc23f08d923a6bcb15129ff7602864 (diff) | |
parent | 45ab190f9e618bd24c6e498e31da3f7e9d3f03b9 (diff) |
Merge branch 'main' of db:chatty
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 21 |
1 files changed, 5 insertions, 16 deletions
@@ -1,17 +1,6 @@ #!/bin/sh -build () { - ( - set -x - gcc -ggdb -Wall -pedantic -std=c99 -I./external -o ${1%.c} $@ - ) -} - -if [ "$1" ]; then - build "$1" - exit -fi - -[ -x ./external/keyboard ] || build external/keyboard.c -build chatty.c -build server.c -build send.c +set -x +gcc external/keyboard.c +gcc -DDEBUG -ggdb -Wall -pedantic -std=c99 -o chatty chatty.c +gcc -DDEBUG -ggdb -Wall -pedantic -std=c99 -o server server.c +gcc -DDEBUG -ggdb -Wall -pedantic -std=c99 -o send send.c |