init
This commit is contained in:
commit
5ad4da465f
14 changed files with 20803 additions and 0 deletions
18
Makefile
Normal file
18
Makefile
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
cl65 ?= cl65
|
||||
|
||||
.PHONY: build debug clean
|
||||
|
||||
build: smb.nes
|
||||
|
||||
debug: OBJ_DEBUG_ARGS = --create-dep obj/nes/smb.d -v -g
|
||||
debug: ROM_DEBUG_ARGS = -Wl --dbgfile,smb.nes.dbg
|
||||
debug: build
|
||||
|
||||
obj/nes/smbdishl.o: src/smbdishl.s
|
||||
$(cl65) -t none -c $(OBJ_DEBUG_ARGS) --include-dir src -o $@ $<
|
||||
|
||||
smb.nes smb.map: obj/nes/smbdishl.o src/nes.cfg
|
||||
$(cl65) -t none -c --mapfile smb.map $(ROM_DEBUG_ARGS) -o smb.nes -C src/nes.cfg $<
|
||||
|
||||
clean:
|
||||
rm -f smb.nes.dbg smb.map smb.nes smb.nes.ndx obj/nes/smbdishl.o obj/nes/smb.d
|
||||
Loading…
Add table
Add a link
Reference in a new issue