aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-11-24 15:34:09 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-11-24 15:34:09 +0100
commitee0facda49bf0acf6f1402538a7974aed2ab4cf0 (patch)
tree32adc59d7db10536fa265f2c30ae5dc2041d4530 /build.sh
parentd01caf679f6f819a501687278d75be110646d6ed (diff)
Implement horizontal versus vertical scrolling strategy
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh21
1 files changed, 5 insertions, 16 deletions
diff --git a/build.sh b/build.sh
index 4548af8..9d69974 100755
--- a/build.sh
+++ b/build.sh
@@ -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