mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-10 09:01:34 +11:00
Don't fail if the .sav file was never created
This commit is contained in:
parent
9b0bdb17e5
commit
0d17da1e79
4
Makefile
4
Makefile
|
@ -21,12 +21,12 @@ out/release/%.gba: cargo-release-%
|
||||||
d-%: out/debug/%.gba
|
d-%: out/debug/%.gba
|
||||||
@OUTNAME=$(patsubst d-%,%,$@)
|
@OUTNAME=$(patsubst d-%,%,$@)
|
||||||
@mgba-qt $<
|
@mgba-qt $<
|
||||||
@rm out/debug/$${OUTNAME}.sav
|
@rm -f out/debug/$${OUTNAME}.sav
|
||||||
|
|
||||||
r-%: out/release/%.gba
|
r-%: out/release/%.gba
|
||||||
@OUTNAME=$(patsubst r-%,%,$@)
|
@OUTNAME=$(patsubst r-%,%,$@)
|
||||||
@mgba-qt $<
|
@mgba-qt $<
|
||||||
@rm out/release/$${OUTNAME}.sav
|
@rm -f out/release/$${OUTNAME}.sav
|
||||||
|
|
||||||
cargo-release-%: $(RUSTFILES) out/crt0.o
|
cargo-release-%: $(RUSTFILES) out/crt0.o
|
||||||
@OUTNAME=$(patsubst cargo-release-%,%, $@)
|
@OUTNAME=$(patsubst cargo-release-%,%, $@)
|
||||||
|
|
Loading…
Reference in a new issue