diff options
| author | vin <git@vineetk.net> | 2024-07-21 13:52:48 -0400 |
|---|---|---|
| committer | vin <git@vineetk.net> | 2024-07-21 13:52:48 -0400 |
| commit | 2df7df5f5b0f325864f92c5a58f3c132cfff989e (patch) | |
| tree | 7b57dd9739ec56837fe7aae1599ac2fc4f8ce891 /Makefile | |
| parent | 85c6a414f9f14e388cc9a5e1ee36ffc0e1d93273 (diff) | |
add CFLAGS
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -1,5 +1,7 @@ | |||
| 1 | CFLAGS = -O2 -Wall -Wextra -pedantic -Wno-unused-parameter | ||
| 2 | |||
| 1 | nes: | 3 | nes: |
| 2 | ${CC} -o nes cpu.c rom.c | 4 | ${CC} ${CFLAGS} -o nes cpu.c rom.c ppu.c |
| 3 | 5 | ||
| 4 | test: nes | 6 | test: nes |
| 5 | ./nes ${HOME}/src/other/nes-test-roms/other/nestest.nes | 7 | ./nes ${HOME}/src/other/nes-test-roms/other/nestest.nes |
