Commit 42c2e6ba authored by Henry Weller's avatar Henry Weller
Browse files

wmake/rules/General/transform: added filter for third-party paths

Resolves bug-report http://bugs.openfoam.org/view.php?id=2283
parent 3ea71fb5
......@@ -10,6 +10,7 @@ $(foreach s,$(SUFFIXES),$(eval $(call DEFINE_TRANSFORM,$(s))))
$(OBJECTS_DIR)/%.dep : %
@$(WM_SCRIPTS)/makeTargetDir $@
@$(WMAKE_BIN)/wmkdep -I$(*D) $(LIB_HEADER_DIRS) $< | \
sed 's,$(WM_PROJECT_DIR),$$(WM_PROJECT_DIR),' > $@
sed -e 's,^$(WM_PROJECT_DIR)/,$$(WM_PROJECT_DIR)/,' \
-e 's,^$(WM_THIRD_PARTY_DIR)/,$$(WM_THIRD_PARTY_DIR)/,' > $@
#------------------------------------------------------------------------------
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment