#! /bin/csh -f
#
#   Compiles a file directly from the directory editor
#
 
#
#   extracts the $1 filename part  ( "test.c" gives "test" )
#
set a = $1:r
set b = $a:h
set c = $a:t
 
if ( $b != $c ) then
   cd $b
endif
 
echo cc  -O -c -o $a.o $a.c
     cc  -O -c -o $a.o $a.c
 
echo  " >>>>> co: Done <<<<<"
