#! /bin/csh -f
#
#   Compiles a file directly from the directory editor
#

#
#   extracts the $1 filename part  ( "test.c" gives "test" )
#
set a = $1:r

echo cc  -O -c -o $a.o $a.c
     cc  -O -c -o $a.o $a.c
set rc = $status

echo  " >>>>> Done <<<<<"

exit($rc)
