sm64/press_linux
2022-12-04 22:27:02 -05:00

18 lines
342 B
Tcsh

#! /bin/csh -f
mips-linux-gcc -fno-pic -mcpu=4300 -nostdinc -I$ROOT/usr/include -I$ROOT/usr/include/PR -O -c -Dyj -S -o `basename $1.s` $1.c
if ($status) then
exit 1
endif
#./dataasm_linux $1 $2
./mydataasm_linux $1 $2
if($status)then
exit 1
endif
./slienc_linux $1.bin
if($status)then
exit 1
endif
rm $1.bin
rm `basename $1.s`
exit 0