blob: 62624798b957bc43e0128bfbd9ea3e3360192d82 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#!/bin/sh
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="
-Ilibs
-Ilibs/prge
-Ilibs/prb
"
lflags=''
libs='
-lm
-lSDL3
-lGL
-lGLEW
'
mkdir -p $builddir
cp -r -p data $builddir
set -x
$compiler -o $builddir/$target $debug_cflags $include $lflags $srcdir/linux.c $libs
|