From be2414f5b11b182998fca7e87712ff0502c8ee93 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 27 Sep 2023 09:49:50 +0200 Subject: Add a sprite example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is way better documented. Moreover, the `input.s` example has been further simplified. Signed-off-by: Miquel Sabaté Solà --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e9d56bf..9500e45 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ deps: @which $(CC65) >/dev/null 2>/dev/null || (echo "ERROR: $(CC65) not found." && false) .PHONY: build -build: out/input.nes +build: out/input.nes out/sprite.nes -out/input.nes: examples/input.s examples/wrapper.s - $(CC65) $(CCOPTS) examples/input.s examples/wrapper.s -o $@ +out/%.nes: examples/%.s + $(CC65) $(CCOPTS) $< -o $@ -- cgit v1.2.3