aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorRaymaekers Luca <luca@keyfried.com>2024-11-19 03:56:43 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-11-19 04:00:15 +0100
commitf69593a26b2c63fa08714786bc71539c0acd305d (patch)
tree1b41147f282f40b4fd3369c50fee0457592691eb /build.sh
parent5d433ef52651232126ec1d6d3c0f2453ac538b9f (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