aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-11-19 03:56:43 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-11-19 04:00:15 +0100
commit2a26ea96a9bde812ebe0ea194933b88167ca6f23 (patch)
tree1b41147f282f40b4fd3369c50fee0457592691eb /build.sh
parentce8790254a32ebc77a39ebd80dd1ee0f0a8be3cb (diff)
added keyboard.c from termbox
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 53e6e14..4548af8 100755
--- a/build.sh
+++ b/build.sh
@@ -2,7 +2,7 @@
build () {
(
set -x
- gcc -ggdb -Wall -pedantic -std=c99 -o ${1%.c} $@
+ gcc -ggdb -Wall -pedantic -std=c99 -I./external -o ${1%.c} $@
)
}
@@ -11,6 +11,7 @@ if [ "$1" ]; then
exit
fi
+[ -x ./external/keyboard ] || build external/keyboard.c
build chatty.c
build server.c
build send.c