add CFLAGS

This commit is contained in:
Vineet K 2024-07-21 13:52:48 -04:00
parent 85c6a414f9
commit 2df7df5f5b

View File

@ -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