Download data/wmake/rules/General/transform from introvoyz042/OpenFOAM-dev: direct link, hf CLI and curl.
- Browser
- Download file 979 Bytes
-
https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/wmake/rules/General/transform
- Command line
-
hf download hf://datasets/introvoyz042/OpenFOAM-dev/data/wmake/rules/General/transform
-
curl -L -o transform https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/wmake/rules/General/transform
979 Bytes
| #----------------------------*- makefile-gmake -*------------------------------ | |
| ifneq ("$(WM_QUIET)","") | |
| E=@ | |
| define QUIET_MESSAGE | |
| @echo " $1: $2"; | |
| endef | |
| define VERBOSE_MESSAGE | |
| endef | |
| else | |
| E= | |
| define QUIET_MESSAGE | |
| endef | |
| define VERBOSE_MESSAGE | |
| @echo "$1 $2"; | |
| endef | |
| endif | |
| define DEFINE_TRANSFORM | |
| $(OBJECTS_DIR)/%.o : %$1 | |
| $(call QUIET_MESSAGE,$(subst .,,$(1))too,$(value <F)) | |
| $E $$($(subst .,,$(1))too) | |
| endef | |
| $(foreach s,$(SUFFIXES),$(eval $(call DEFINE_TRANSFORM,$(s)))) | |
| $(OBJECTS_DIR)/%.dep : % | |
| $(call QUIET_MESSAGE,wmkdep,$(<F)) | |
| $(call VERBOSE_MESSAGE,Making dependency list for source file,$(<F)) | |
| @$(WM_SCRIPTS)/makeTargetDir $@ | |
| @$(WMAKE_BIN)/wmkdep \ | |
| -R '$(OBJECTS_DIR)/' '$$(OBJECTS_DIR)/' \ | |
| -R '$(WM_PROJECT_DIR)/' '$$(WM_PROJECT_DIR)/' \ | |
| -R '$(WM_THIRD_PARTY_DIR)/' '$$(WM_THIRD_PARTY_DIR)/' \ | |
| $(LIB_HEADER_DIRS) $< $@ | |
| #------------------------------------------------------------------------------ | |