diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-01-23 16:14:12 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-02-04 22:00:07 +0100 |
| commit | fdf44365e56c3741f47cbd421a57f0d074a5492c (patch) | |
| tree | 92b55944dd84171f6c42857402b1f90f835abfa2 /Makefile | |
| parent | 6c207c192b7ce1a292249afd7b0a3499be70d03c (diff) | |
| download | code.nes-fdf44365e56c3741f47cbd421a57f0d074a5492c.tar.gz code.nes-fdf44365e56c3741f47cbd421a57f0d074a5492c.zip | |
fx: Provide an example of PPU bank switching
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -18,14 +18,14 @@ clean: @rm -rf out @find . -type f -name "*.o" -delete @find . -type f -name "*.nes" -delete - @mkdir -p out/basics out/scroll out/space + @mkdir -p out/basics out/scroll out/space out/fx .PHONY: deps deps: @which $(CC65) >/dev/null 2>/dev/null || (echo "ERROR: $(CC65) not found." && false) .PHONY: build -build: basics space scroll +build: basics space scroll fx .PHONY: basics basics: @@ -56,3 +56,8 @@ space: scroll: $(E) " CC scroll" $(Q) $(CC65) $(CCOPTS) scroll/level.s -C config/nrom.cfg -o out/scroll/level.nes + +.PHONY: fx +fx: + $(E) " CC fx/blink" + $(Q) $(CC65) $(CCOPTS) fx/blink.s -C config/mmc3.cfg -o out/fx/blink.nes |
