From 111be468f0c78a572731ba1a273f8166dcdf7b1c Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 6 May 2025 16:06:20 +0200 Subject: rand: Add an example with PRNG 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 930fc0b..e7e7901 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 out/fx + @mkdir -p out/basics out/scroll out/space out/fx out/rand .PHONY: deps deps: @which $(CC65) >/dev/null 2>/dev/null || (echo "ERROR: $(CC65) not found." && false) .PHONY: build -build: basics space scroll fx +build: basics space scroll fx rand .PHONY: basics basics: @@ -73,3 +73,8 @@ scroll: fx: $(E) " CC fx/blink" $(Q) $(CC65) $(CCOPTS) fx/blink.s -C config/mmc3.cfg -o out/fx/blink.nes + +.PHONY: rand +rand: + $(E) " CC rand/rand" + $(Q) $(CC65) $(CCOPTS) rand/rand.s -C config/nrom.cfg -o out/rand/rand.nes -- cgit v1.2.3