From 104dabefd62952f2d892a2dcdfb5700d9379ac00 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Sat, 19 Oct 2024 11:31:50 +0200 Subject: add shared code in common.c --- build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'build.sh') 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 -- cgit v1.2.3