Download data/src/OSspecific/POSIX/Allwmake from introvoyz042/OpenFOAM-dev: direct link, hf CLI and curl.
- Browser
- Download file 629 Bytes
-
https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/src/OSspecific/POSIX/Allwmake
- Command line
-
hf download hf://datasets/introvoyz042/OpenFOAM-dev/data/src/OSspecific/POSIX/Allwmake
-
curl -L -o Allwmake https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/src/OSspecific/POSIX/Allwmake
629 Bytes
| cd ${0%/*} || exit 1 # Run from this directory | |
| # Parse arguments for library compilation | |
| targetType=libo | |
| . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments $* | |
| unset COMP_FLAGS LINK_FLAGS | |
| # | |
| # use <sys/inotify.h> if available (Linux) | |
| # | |
| if echo "#include <sys/inotify.h>" | $WM_CXX $WM_CXXFLAGS -E - > /dev/null 2>&1 | |
| then | |
| echo " found <sys/inotify.h> -- enabling inotify for file monitoring." | |
| export COMP_FLAGS="-DFOAM_USE_INOTIFY" | |
| else | |
| unset COMP_FLAGS | |
| fi | |
| # make (non-shared by default) object | |
| wmake $targetType | |
| #------------------------------------------------------------------------------ | |