~rabbits/nasu

ref: 6cb68be8f1d5415e81577fd7dbccad293869e8b0 nasu/build.sh -rwxr-xr-x 437 bytes
6cb68be8Devine Lu Linvega * 1 year, 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# format code
clang-format -i nasu6.c

# remove old
rm ./nasu6

# 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 nasu6.c -I/usr/local/include -L/usr/local/lib -lSDL2 -o nasu6

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

# run
./nasu6 sprite.chr