diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-10-24 23:14:18 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-10-24 23:14:18 +0200 |
commit | 66a153c5012f0237bdf67b79b5cc6b2f5f496879 (patch) | |
tree | b59dfad2b36a8cb49fda7d22145ba711d294e894 /v2/build.sh | |
parent | f37cce374cc9da243fc2babbea9a7051f15db80a (diff) |
Initial draft for v2
This is a rewrite of v1 using arena's as memory allocators. The other
great difference is using wide strings by default (wchar_t) because that
will be needed in the future to print pretty UIs.
Diffstat (limited to 'v2/build.sh')
-rwxr-xr-x | v2/build.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/v2/build.sh b/v2/build.sh new file mode 100755 index 0000000..53e6e14 --- /dev/null +++ b/v2/build.sh @@ -0,0 +1,16 @@ +#!/bin/sh +build () { + ( + set -x + gcc -ggdb -Wall -pedantic -std=c99 -o ${1%.c} $@ + ) +} + +if [ "$1" ]; then + build "$1" + exit +fi + +build chatty.c +build server.c +build send.c |