emu_nes

An NES emulator for learning how the 6502 and similar computers of the era worked
Log | Files | Refs | README | LICENSE

commit 2df7df5f5b0f325864f92c5a58f3c132cfff989e
parent 85c6a414f9f14e388cc9a5e1ee36ffc0e1d93273
Author: vin <git@vineetk.net>
Date:   Sun, 21 Jul 2024 13:52:48 -0400

add CFLAGS

Diffstat:
MMakefile | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 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