More flexible build with TARGET
This commit is contained in:
parent
6605459fb9
commit
bc2c675571
@ -2,4 +2,4 @@
|
|||||||
cd $(dirname "$(readlink -f "$0")")
|
cd $(dirname "$(readlink -f "$0")")
|
||||||
SUDO=${SUDO:-sudo}
|
SUDO=${SUDO:-sudo}
|
||||||
cc baked.c -o baked -std=gnu99 -O2 -Wall -Wextra -Wpedantic -pipe $CFLAGS
|
cc baked.c -o baked -std=gnu99 -O2 -Wall -Wextra -Wpedantic -pipe $CFLAGS
|
||||||
$SUDO install -m 755 baked /usr/local/bin
|
$SUDO install -m 755 baked ${TARGET:-/usr/local/bin}
|
||||||
|
Loading…
Reference in New Issue
Block a user