aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2023-09-27 09:49:50 +0200
committerMiquel Sabaté Solà <mikisabate@gmail.com>2025-02-04 20:58:20 +0100
commitbe2414f5b11b182998fca7e87712ff0502c8ee93 (patch)
tree2445618e7ee4115ee2ae96181f8f09a12264f344 /Makefile
parentbc87587330e9265b23861d0f763fdb1612e5f632 (diff)
downloadcode.nes-be2414f5b11b182998fca7e87712ff0502c8ee93.tar.gz
code.nes-be2414f5b11b182998fca7e87712ff0502c8ee93.zip
Add a sprite example
This is way better documented. Moreover, the `input.s` example has been further simplified. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
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 $@