Allwmake 346 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
cd ${0%/*} || exit 1    # run from this directory

if [ -f "$FFTW_ARCH_PATH/include/fftw3.h" ] || \
   [ "${FFTW_ARCH_PATH##*-}" = system -a -f "/usr/include/fftw3.h" ]
then
    wmake
else
    echo
    echo "Skipping dnsFoam solver (no FFTW)"
    echo
fi

#------------------------------------------------------------------------------