echo ":: Searching for '$1' in /src/apps"
pushd /retro/src/apps >/dev/null
if [ -r $1.c ]; then
  echo ":: Building '$1'"
  cc $1.c -oa.out
  strip a.out
  echo ":: Copying '$1' to /bin"
  cp a.out /retro/bin/$1
else
  echo "   :: '$1' not found"
fi
popd >/dev/null
