@echo Compiling %1.SXT to %1.SCT
@echo >\temp.txt #include "/%1.sxt"
@copy %1.sxt \
@copy c:\psx\firo\source\psc2psb.h \
@ccpsx -O2 -Xo$0 -comments-c++ c:\psx\firo\source\txt2spr.c -otxt2spr.cpe
@erase \%1.sxt
@erase \psc2psb.h
@cpe2x txt2spr.cpe
@erase txt2spr.cpe
@chopfile txt2spr.exe  /SSTARTOFFILE /EENDOFFILE
@erase txt2spr.exe
@erase %1.spr
@rename txt2spr!.exe %1.sct

