aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
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