4 if ( $#argv != 1 ) then
5 Error
: Usage
: linker.csh option
9 set files
=( data.c data.h misc.c my_strtok.c protos.h reg_parse.c registry.h
type.c sym.c sym.h symtab_gen.c
)
12 foreach
file ( $files )
13 if ( $argv[1] == 'link' ) ln -s ..
/..
/..
/..
/tools
/$file
14 if ( $argv[1] == 'unlink' ) rm -f $file