uxn

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

commit 380b9575e9d0365827b43f4a517e7ea3d56f9ea4
parent 66f5ba6e4d3102212cd27a9307f57329be1de069
Author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
Date:   Sun, 26 Dec 2021 07:31:19 +0100

build script: include cpu arch-specific files, if any

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

diff --git a/build.sh b/build.sh @@ -54,6 +54,9 @@ then else CFLAGS="${CFLAGS} -DNDEBUG -Os -g0 -s" CORE='src/uxn-fast.c' + ARCH=`${CC} -dumpmachine 2> /dev/null || echo nope` + ARCH=${ARCH%%-*} + CORE="${CORE} `find src -name *_${ARCH}.c 2> /dev/null || true`" fi echo "Building.."