uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit 428a1da50e004fcab51e452303f5a8fe58b5979b
parent e9f0585e0bbba15beb0795a87c5d63625e454c17
Author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
Date:   Mon,  8 Nov 2021 18:31:08 +0100

build.sh: use $CC (default value is still "cc")

Diffstat:
Mbuild.sh | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/build.sh b/build.sh @@ -26,6 +26,7 @@ then fi mkdir -p bin +CC="${CC:-cc}" CFLAGS="-std=c89 -Wall -Wno-unknown-pragmas" case "$(uname -s 2>/dev/null)" in MSYS_NT*) # MSYS2 on Windows @@ -51,9 +52,9 @@ else fi echo "Building.." -cc ${CFLAGS} src/uxnasm.c -o bin/uxnasm -cc ${CFLAGS} ${CORE} src/devices/file.c src/devices/ppu.c src/devices/apu.c src/uxnemu.c ${UXNEMU_LDFLAGS} -o bin/uxnemu -cc ${CFLAGS} ${CORE} src/devices/file.c src/uxncli.c -o bin/uxncli +${CC} ${CFLAGS} src/uxnasm.c -o bin/uxnasm +${CC} ${CFLAGS} ${CORE} src/devices/file.c src/devices/ppu.c src/devices/apu.c src/uxnemu.c ${UXNEMU_LDFLAGS} -o bin/uxnemu +${CC} ${CFLAGS} ${CORE} src/devices/file.c src/uxncli.c -o bin/uxncli if [ -d "$HOME/bin" ] then