~rabbits/nasu

902b0c878b36f585b729a96b28b4f94e5dd99a4b — neauoire 2 years ago 9080177
Use fast build step
2 files changed, 3 insertions(+), 3 deletions(-)

M README.md
M build.sh
M README.md => README.md +1 -1
@@ 33,7 33,7 @@ Import a bmp:

### General

- `~` Fix
- `BACKTICK` Cleanup Brush
- `1-7` Patterns
- `TAB` Cycle between colors
- `H` Toggle Guides

M build.sh => build.sh +2 -2
@@ 7,10 7,10 @@ clang-format -i nasu.c
rm ./nasu

# debug(slow)
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 -L/usr/local/lib -lSDL2 -o nasu
# 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 -L/usr/local/lib -lSDL2 -o nasu

# build(fast)
# cc nasu.c -std=c89 -Os -DNDEBUG -g0 -s -Wall -L/usr/local/lib -lSDL2 -o nasu
cc nasu.c -std=c89 -Os -DNDEBUG -g0 -s -Wall -L/usr/local/lib -lSDL2 -o nasu

# run
./nasu example.chr