SET MIPS_TEMP=e:\psx\TEMP SET MIPS_COMPILER_PATH=e:\psx\BIN SET MIPS_INCLUDE_PATH=e:\psx\INCLUDE SET MIPS_CPLUS_INCLUDE_PATH=e:\psx\INCLUDE SET MIPS_LIBRARY_PATH=e:\psx\LIB echo Compiling... mipsgcc -O2 -Iinclude -Xlinker -mpsx -o $(InputName).psx $(InputName).c lib\syscall.o lib\_start.o echo Fixing EXE... echo yes > yes.txt exefixup $(InputName).psx < yes.txt > nul echo Deleting old EXE... if exist $(InputName).exe del $(InputName).exe echo Renaming... if exist padded.exe ren padded.exe $(InputName).exe if not exist $(InputName).exe copy $(InputName).psx $(InputName).exe