colourpicker

Simple Colour Picker written in C
git clone anongit@rnpnr.xyz:colourpicker.git
Log | Files | Refs | Feed | Submodules | README | LICENSE

Commit: 872eaffc6fa20680f2388c5aa8f3357ce15136ef
Parent: 0ba0338594aeae7ddb9ec04b671f1e8f66d22d42
Author: Randy Palamar
Date:   Fri,  9 Aug 2024 07:07:19 -0600

build.sh: allow external CFLAGS and LDFLAGS

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

diff --git a/build.sh b/build.sh @@ -1,7 +1,10 @@ #!/bin/sh -cflags="-march=native -std=c11 -O3 -Wall -I./external/include" -ldflags="-lraylib -lm" +cflags=${CFLAGS:-"-march=native -O3 -Wall"} +cflags="${cflags} -std=c11 -I./external/include" +ldflags=${LDFLAGS:-"-flto"} +ldflags="$ldflags -lraylib -lm" + debug=${DEBUG} cc=${CC:-cc}