From 77dc79afe5fd909fb1fe0a3cc668db2763b82fb8 Mon Sep 17 00:00:00 2001 From: rubin Date: Fri, 22 May 2026 13:42:51 +0200 Subject: import repository Signed-off-by: rubinowy blask --- build.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 build.sh (limited to 'build.sh') diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..6f1ddad --- /dev/null +++ b/build.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +set -e; # exit on error + +#CC="x86_64-unknown-linux-musl-gcc" +CC="gcc" + +roll_print() { printf "\t\t%s\t%s\n" "$1" "$2"; } + +for i in fdwatcher network parent child main; do + roll_print "CC" "$i.o" + "$CC" -I. -c -o "$i.o" "$i.c" +done + +"$CC" -static -o aura fdwatcher.o network.o parent.o child.o main.o +strip aura + -- cgit 1.4.1