slim2c $1.slm $0.r/
if test $? -eq 0
then  
if test -f $1.lnk
then
  linker $1 <$1.lnk >>$1.c
  chmod +x $1.lin
elif test -f $1.lkr
then
  linker $1 <$1.lkr >>$1.c
  chmod +x $1.lin
fi
gcc -w -c -I $0.r $1.c
if test -f $1.lnk
then
  ./$1.lin $0
fi
if test $2
then
  echo "keeping the c" 
else
  rm $1.c
fi
else
  echo "Errors, compile failed"
  exit 1
fi
