Files
coco 723ce1af5c a
2026-07-03 15:12:48 +08:00

18 lines
278 B
Bash

#!/bin/bash -e
. ../../include/path.sh
if [ "$1" == "build" ]; then
true
elif [ "$1" == "clean" ]; then
make clean
exit 0
else
exit 255
fi
$0 clean # separate building not supported, always clean
export AR=llvm-ar
make -j$cores no_test
make DESTDIR="$prefix_dir" install