bake/install.sh
2023-09-27 05:58:21 +00:00

6 lines
192 B
Bash
Executable File

#!/bin/sh
cd $(dirname "$(readlink -f "$0")")
SUDO=${SUDO:-sudo}
cc baked.c -o baked -std=gnu99 -O2 -Wall -Wextra -Wpedantic -pipe $CFLAGS
$SUDO install -m 755 baked ${TARGET:-/usr/local/bin}