aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-10-19 11:31:50 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-10-19 11:32:08 +0200
commit104dabefd62952f2d892a2dcdfb5700d9379ac00 (patch)
tree39b62d01627e67177e7b156e5eb0be1c3163a1ca /build.sh
parent261b81eeaada702eb254e502462ac3a4d1249ec0 (diff)
add shared code in common.c
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index b361ddb..60a538d 100755
--- a/build.sh
+++ b/build.sh
@@ -1,3 +1,4 @@
#!/bin/sh
-gcc -g -Wall -pedantic -std=c99 -o server server.c
-gcc -g -Wall -pedantic -std=c99 -o chatty client.c
+set -x
+gcc -g -Wall -pedantic -std=c99 -o chatty client.c common.c
+gcc -g -Wall -pedantic -std=c99 -o server server.c common.c