Download data/wmake/rules/General/version from introvoyz042/OpenFOAM-dev: direct link, hf CLI and curl.
- Browser
- Download file 469 Bytes
-
https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/wmake/rules/General/version
- Command line
-
hf download hf://datasets/introvoyz042/OpenFOAM-dev/data/wmake/rules/General/version
-
curl -L -o version https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/wmake/rules/General/version
469 Bytes
| #----------------------------*- makefile-gmake -*------------------------------ | |
| SUFFIXES += .Cver | |
| # Update version strings in C++ file and in $WM_PROJECT_DIR/.build file | |
| Cvertoo = \ | |
| sed -e 's!VERSION_STRING!$(shell wmakePrintBuild -major)!' \ | |
| -e 's!BUILD_STRING!$(shell wmakePrintBuild -update)!' \ | |
| $< > $(@D)/$(<F).C; \ | |
| $(CC) $(c++FLAGS) -c $(@D)/$(<F).C -o $@ | |
| #------------------------------------------------------------------------------ | |