~rabbits/nasu

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

# remove old
rm ./chr6

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

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

# run
./chr6 sprite.chr