add CFLAGS
This commit is contained in:
parent
85c6a414f9
commit
2df7df5f5b
4
Makefile
4
Makefile
@ -1,5 +1,7 @@
|
|||||||
|
CFLAGS = -O2 -Wall -Wextra -pedantic -Wno-unused-parameter
|
||||||
|
|
||||||
nes:
|
nes:
|
||||||
${CC} -o nes cpu.c rom.c
|
${CC} ${CFLAGS} -o nes cpu.c rom.c ppu.c
|
||||||
|
|
||||||
test: nes
|
test: nes
|
||||||
./nes ${HOME}/src/other/nes-test-roms/other/nestest.nes
|
./nes ${HOME}/src/other/nes-test-roms/other/nestest.nes
|
||||||
|
Loading…
Reference in New Issue
Block a user