...
|
...
|
@@ -34,10 +34,10 @@ if [ "${1}" = '--debug' ];
|
34
|
34
|
then
|
35
|
35
|
echo "[debug]"
|
36
|
36
|
CFLAGS="${CFLAGS} -DDEBUG -Wpedantic -Wshadow -Wextra -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Wvla -g -Og -fsanitize=address -fsanitize=undefined"
|
37
|
|
- CORE='src/uxn.c'
|
|
37
|
+ CORE='src/uxn.c'
|
38
|
38
|
else
|
39
|
39
|
CFLAGS="${CFLAGS} -DNDEBUG -Os -g0 -s"
|
40
|
|
- CORE='src/uxn-fast.c'
|
|
40
|
+ CORE='src/uxn-fast.c'
|
41
|
41
|
fi
|
42
|
42
|
cc ${CFLAGS} src/uxnasm.c -o bin/uxnasm
|
43
|
43
|
cc ${CFLAGS} ${CORE} src/devices/ppu.c src/devices/apu.c src/devices/mpu.c src/uxnemu.c ${UXNEMU_LDFLAGS} -o bin/uxnemu
|