From cee93625989b651cfe91387eabd0abd3f64a00df Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 27 Nov 2023 10:31:03 +0100 Subject: scroll: Start with the scrolling examples MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is still work in progress but at least there's some basic structure to it. Signed-off-by: Miquel Sabaté Solà --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c8ae5e7..e2d5006 100644 --- a/Makefile +++ b/Makefile @@ -11,14 +11,14 @@ clean: @rm -rf out @find . -type f -name "*.o" -delete @find . -type f -name "*.nes" -delete - @mkdir -p out/basics + @mkdir -p out/basics out/scroll .PHONY: deps deps: @which $(CC65) >/dev/null 2>/dev/null || (echo "ERROR: $(CC65) not found." && false) .PHONY: build -build: basics space +build: basics space scroll .PHONY: basics basics: unrom @@ -36,3 +36,7 @@ unrom: space: @cd space && CC65=$(CC65) CCOPTS="$(CCOPTS)" $(MAKE) @mv space/space.nes out/ + +.PHONY: scroll +scroll: + $(CC65) $(CCOPTS) scroll/level.s -o out/scroll/level.nes -- cgit v1.2.3