Build software correctly, ignore debugger files

This commit is contained in:
Byron Lathi
2024-03-03 14:45:48 -08:00
parent a343b23ddd
commit ab9da189d1
8 changed files with 23 additions and 133 deletions

View File

@@ -21,12 +21,13 @@ $(INIT_HEX): toolchain script/generate_rom_image.py $(HEX)
python script/generate_rom_image.py -i $(HEX) -o $@
$(HEX):
$(MAKE) -C sw/$(ROM) $(notdir $@)
$(MAKE) -C sw/$(ROM_TARGET) $(notdir $@)
.PHONY: clean
clean:
$(MAKE) -C hw/super6502_fpga $@
$(MAKE) -C sw/$(ROM_TARGET) clean
.PHONY: distclean
distclean: clean
$(MAKE) -C sw/toolchain/cc65 clean
$(MAKE) -C sw/toolchain/cc65 clean