blob: 6f1ddadff3556b4ca121da6624ed1b355152911f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
|