Makefile: curl improvements

-f: Doesn't output a file on error.
-O: Gets filename from URL.
This commit is contained in:
Margen67 2021-05-07 03:10:44 -10:00 committed by TuxSH
parent fd4d54a2cc
commit 8cfc0bc709

View File

@ -27,7 +27,7 @@ boot.firm: $(SUBFOLDERS)
@echo built... $(notdir $@)
boot.3dsx:
@curl -sSL "https://github.com/fincs/new-hbmenu/releases/latest/download/boot.3dsx" -o "$@"
@curl -sSfLO "https://github.com/fincs/new-hbmenu/releases/latest/download/$@"
@echo downloaded... $(notdir $@)
$(SUBFOLDERS):