5.3 Build Commands

# Disc image targets
# P0: CDI format is INVALID for Dreamcast - Use ISO only
%.cdi: %.elf  # P0: INVALID - Use ISO
    mkdcdisc -e $< -o $@ -n "$(PROJECT) $(VERSION)"  # P0: INVALID

%.iso: %.elf
    mkisofs -V "$(PROJECT) $(VERSION)" -o $@ $<

# Run targets
run: $(TARGET)
    flycast $(TARGET)

# Burn target (requires cdrecord) - P0: CDI INVALID
burn: $(TARGET).cdi  # P0: INVALID - Use ISO
    sudo cdrecord -v -eject dev=/dev/cdrw $(TARGET).cdi  # P0: INVALID - Use ISO

6. Build Configuration