#!/bin/csh

if ($#argv != 1) then
	echo umake_cc ファイル名
else
	set names = `\ls -t $argv[1].*`
	if ($names[1]:e != "o") then
		echo /usr/bin/cc -xansi     -I. -I/usr/include/PR -I/usr/local/srd/PR -non_shared -mips2 -fullwarn -G 0 -float  -Xcpluscomm  -wlint,-fhp -Wab,-r4300_mul -DVTXCACHE32  -Wab,-r4300_mul -nostdinc -I/usr/include -g3 -O2 -woff 515,608,658,799,852,828,827 -c $argv[1].c
		/usr/bin/cc -xansi     -I. -I/usr/include/PR -I/usr/local/srd/PR -non_shared -mips2 -fullwarn -G 0 -float  -Xcpluscomm  -wlint,-fhp -Wab,-r4300_mul -DVTXCACHE32  -Wab,-r4300_mul -nostdinc -I/usr/include -g3 -O2 -woff 515,608,658,799,852,828,827 -c $argv[1].c
	endif
endif

