sm64/press

16 lines
271 B
Tcsh

#! /bin/csh
cc -mips2 -xansi -signed -fullwarn -prototypes -Xcpluscomm -I/usr/include/PR -non_shared -G 0 -c -Dyj -S -o $1.o $1.c
if ($status) then
exit 1
endif
dataasm $1 $2
if($status)then
exit 1
endif
slienc $1.bin
if($status)then
exit 1
endif
rm $1.bin
exit 0