aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
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