aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2025-01-23 16:14:12 +0100
committerMiquel Sabaté Solà <mikisabate@gmail.com>2025-02-04 22:00:07 +0100
commitfdf44365e56c3741f47cbd421a57f0d074a5492c (patch)
tree92b55944dd84171f6c42857402b1f90f835abfa2 /Makefile
parent6c207c192b7ce1a292249afd7b0a3499be70d03c (diff)
downloadcode.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--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7b89700..461c0b5 100644
--- a/Makefile
+++ b/Makefile
@@ -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