diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-09-29 22:19:51 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-09-29 22:19:51 +0200 |
| commit | ff47b013fbdde4a28ea7b58239cceeca85172e0b (patch) | |
| tree | f958f011119768b69e4682d93d58add0ffcc20fa /Makefile | |
| parent | 7af0538816193be7c88c76a556b908bedf1585df (diff) | |
| download | code.nes-ff47b013fbdde4a28ea7b58239cceeca85172e0b.tar.gz code.nes-ff47b013fbdde4a28ea7b58239cceeca85172e0b.zip | |
This is all prone to errors and probably a bad idea on production, but
it was a fun exercise with 6502 assembly.
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 out/sound + @mkdir -p out/basics out/scroll out/space out/fx out/rand out/sound out/asm .PHONY: deps deps: @which $(CC65) >/dev/null 2>/dev/null || (echo "ERROR: $(CC65) not found." && false) .PHONY: build -build: basics space scroll sound fx rand +build: basics space scroll sound fx rand asm .PHONY: basics basics: @@ -89,3 +89,8 @@ fx: rand: $(E) " CC rand/rand" $(Q) $(CC65) $(CCOPTS) rand/rand.s -C config/nrom.cfg -o out/rand/rand.nes + +.PHONY: asm +asm: + $(E) " CC asm/soft_irq" + $(Q) $(CC65) $(CCOPTS) asm/soft_irq.s -C config/nrom.cfg -o out/asm/soft_irq.nes |
