add flag support and update README

This commit is contained in:
Nicholas Orlowsky 2023-09-06 02:10:31 -04:00
parent 682175e8de
commit 84aa309a29
No known key found for this signature in database
GPG key ID: 24C84C4DDAD95065
4 changed files with 155 additions and 53 deletions

View file

@ -2,9 +2,16 @@ build:
gcc ./main.c -g -lSDL2 -lGL
run: build
./a.out
./a.out ${ROM_FILE}
run-turbo: build
./a.out ${ROM_FILE} turbo
debug: build
gdb ./a.out
gdb ./a.out ${ROM_FILE}
debug-turbo: build
gdb ./a.out ${ROM_FILE} turbo
format:
clang-format ./*.c -i