From fdf44365e56c3741f47cbd421a57f0d074a5492c Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 23 Jan 2025 16:14:12 +0100 Subject: fx: Provide an example of PPU bank switching MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3