build system done

This commit is contained in:
2025-04-10 19:41:41 -07:00
parent 25662a9120
commit aeed5bb515
4 changed files with 66 additions and 0 deletions

View File

@@ -17,3 +17,32 @@ sbcl --load "$LISP" \
:executable t
:save-runtime-options t
:toplevel '$NAME:toplevel)"
cat <<EOF
____ _ _ _ ____ _____ ____ ________ _ _ _____
| _ \ / \ | \ | |/ ___| ____| _ \ |__ / _ \| \ | | ____|
| | | |/ _ \ | \| | | _| _| | |_) | / / | | | \| | _|
| |_| / ___ \| |\ | |_| | |___| _ < / /| |_| | |\ | |___
|____/_/ \_\_| \_|\____|_____|_| \_\/____\___/|_| \_|_____|
EOF
# D A N G E R Z O N E
# Beepy needs this because the firmware files are owned by root.
# When building on macOS, I need need to make sure it works with
# some test-files.
if [ "$(uname -s)" = "Linux" ]
then
cat <<EOF
____ _ _ _ ____ _____ ____ ________ _ _ _____
| _ \ / \ | \ | |/ ___| ____| _ \ |__ / _ \| \ | | ____|
| | | |/ _ \ | \| | | _| _| | |_) | / / | | | \| | _|
| |_| / ___ \| |\ | |_| | |___| _ < / /| |_| | |\ | |___
|____/_/ \_\_| \_|\____|_____|_| \_\/____\___/|_| \_|_____|
EOF
echo "[+] warning: setting up ${NAME} with sticky-root permissions!"
sudo chown root:root ${NAME}
sudo chmod +s ${NAME}
fi