~rabbits/nasu

ref: 351eec551f58225f4c4845e2f1c7c14a1cdf1fde nasu/build.sh -rwxr-xr-x 430 bytes
351eec55Devine Lu Linvega Renamed chr6 to nasu 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# format code
clang-format -i nasu.c

# remove old
rm ./nasu

# debug
cc -std=c89 -DDEBUG -Wall -Wpedantic -Wshadow -Wextra -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Wvla -g -Og -fsanitize=address -fsanitize=undefined nasu.c -I/usr/local/include -L/usr/local/lib -lSDL2 -o nasu

# build
# cc -std=c89 -Wall nasu.c -I/usr/local/include -L/usr/local/lib -lSDL2 -o nasu

# run
./nasu sprite.chr