From 90fb30cf3a92690178e5ad39095f604c2bc50afa Mon Sep 17 00:00:00 2001 From: pryazha Date: Fri, 6 Jun 2025 10:30:01 +0500 Subject: trying to add windows support, also a lot of changes, some ui modifications --- build.sh | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100755 build.sh (limited to 'build.sh') diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..9e12891 --- /dev/null +++ b/build.sh @@ -0,0 +1,41 @@ +#!/bin/bash + +compiler='gcc' + +builddir='build' +target='crrn' + +srcdir='src' + +release_cflags=' +-O2 +-DSTBI_NO_SIMD +' + +debug_cflags=' +-g +-Wall +-Wextra +-DSTBI_NO_SIMD +-std=gnu11 +' + +include=" +-Ilib +-Ilib/prge +-Ilib/prb +" + +lflags='' +libs=' +-lm +-lSDL3 +-lGL +-lGLEW +' + +mkdir -p $builddir +cp -r -p data $builddir +set -x + +time $compiler -o $builddir/$target $debug_cflags $include $lflags $srcdir/linux.c $libs -- cgit v1.2.3-70-g09d2