2022-10-08 13:35:39 +00:00
|
|
|
#!/usr/bin/env bash
|
2022-09-05 14:13:51 +00:00
|
|
|
export LUNA_ROOT=$(realpath $(dirname $0)/..)
|
2022-10-02 15:01:30 +00:00
|
|
|
export LUNA_BASE=$LUNA_ROOT/base
|
|
|
|
export PATH=$LUNA_ROOT/toolchain/x86-64-luna/bin:$LUNA_ROOT/toolchain/dist:$PATH
|
|
|
|
|
|
|
|
export CC=x86_64-luna-gcc
|
|
|
|
export CXX=x86_64-luna-g++
|
|
|
|
export LD=x86_64-luna-ld
|
|
|
|
export AR=x86_64-luna-ar
|
2022-10-08 13:57:07 +00:00
|
|
|
export ASM=nasm
|
2022-10-23 18:03:29 +00:00
|
|
|
export STRIP=x86_64-luna-strip
|
|
|
|
|
|
|
|
filter-lines()
|
|
|
|
{
|
|
|
|
sed $'s|^|\x1b[32m('"$1/$2"$')\x1b[39m |'
|
|
|
|
}
|