Ticket #14832: patch-makefile.diff
File patch-makefile.diff, 778 bytes (added by mmoll@…, 17 years ago) |
---|
-
makefile
old new 16 16 # Basic targets to build PETSc libraries. 17 17 # all: builds the c, fortran, and f90 libraries 18 18 all: 19 @if [ "`whoami`" = "root" ]; then \20 echo "********************************************************************"; \21 echo " Do not run configure as root, or using sudo.";\22 echo " That should be reserved for installation";\23 echo "********************************************************************"; \24 exit 1; fi25 19 @${OMAKE} PETSC_ARCH=${PETSC_ARCH} chkpetsc_dir 26 20 -@${OMAKE} all_build 2>&1 | tee make_log_${PETSC_ARCH} 27 21 -@egrep -i "( error | error:)" make_log_${PETSC_ARCH} > /dev/null; if [ "$$?" = "0" ]; then \