psx_build : fix link failing if output folder doesn't exist

This commit is contained in:
50thomatoes50 2021-11-29 17:08:45 +01:00 committed by InspirationByte
parent 3b7477b945
commit c4ee5ea490

View File

@ -7,6 +7,13 @@ rem Create a virtual drive
SUBST X: %REDRIVER_FOLDER%\PSXToolchain SUBST X: %REDRIVER_FOLDER%\PSXToolchain
set PATH=%PATH%;X:\mipsel-unknown-elf\bin; set PATH=%PATH%;X:\mipsel-unknown-elf\bin;
if exist %REDRIVER_FOLDER%\PSXToolchain\CDSrc\0_CD_DATA\ (
rem Yes
) else (
mkdir %REDRIVER_FOLDER%\PSXToolchain\CDSrc\0_CD_DATA\
)
make make
rem Cleanup rem Cleanup