#! /bin/sh

rm -f out
test "$1" = "-j" || ./myclean
if [ "$1" != "-j" ] || ! [ -f Makefile ]
then
  ./myconf >>out 2>&1 || exit 1
fi
./mymake >>out 2>&1 || exit 1
