aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e7e7901..94fa22a 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 out/rand
+ @mkdir -p out/basics out/scroll out/space out/fx out/rand out/sound
.PHONY: deps
deps:
@which $(CC65) >/dev/null 2>/dev/null || (echo "ERROR: $(CC65) not found." && false)
.PHONY: build
-build: basics space scroll fx rand
+build: basics space scroll sound fx rand
.PHONY: basics
basics:
@@ -69,6 +69,11 @@ scroll:
$(E) " CC scroll/roulette"
$(Q) $(CC65) $(CCOPTS) scroll/roulette.s -C config/mmc3.cfg -o out/scroll/roulette.nes
+.PHONY: sound
+sound:
+ $(E) " CC sound/beep"
+ $(Q) $(CC65) $(CCOPTS) sound/beep.s -C config/nrom.cfg -o out/sound/beep.nes
+
.PHONY: fx
fx:
$(E) " CC fx/blink"