diff --git a/Makefile b/Makefile index a7f070a..e0a80f1 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ +CFLAGS = -O2 -Wall -Wextra -pedantic -Wno-unused-parameter + nes: - ${CC} -o nes cpu.c rom.c + ${CC} ${CFLAGS} -o nes cpu.c rom.c ppu.c test: nes ./nes ${HOME}/src/other/nes-test-roms/other/nestest.nes