add flag support and update README
This commit is contained in:
parent
682175e8de
commit
84aa309a29
4 changed files with 155 additions and 53 deletions
11
Makefile
11
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue