diff --git a/epochX/cudacpp/CODEGEN/PLUGIN/CUDACPP_SA_OUTPUT/madgraph/iolibs/template_files/gpu/cudacpp.mk b/epochX/cudacpp/CODEGEN/PLUGIN/CUDACPP_SA_OUTPUT/madgraph/iolibs/template_files/gpu/cudacpp.mk index 583f3df0c9..78188d3f83 100644 --- a/epochX/cudacpp/CODEGEN/PLUGIN/CUDACPP_SA_OUTPUT/madgraph/iolibs/template_files/gpu/cudacpp.mk +++ b/epochX/cudacpp/CODEGEN/PLUGIN/CUDACPP_SA_OUTPUT/madgraph/iolibs/template_files/gpu/cudacpp.mk @@ -89,7 +89,7 @@ endif # Create file with the resolved backend in case user chooses 'cppauto' BACKEND_LOG ?= .resolved-backend ifneq ($(BACKEND_ORIG),$(BACKEND)) - $(file >$(BACKEND_LOG),$(BACKEND)) + $(shell echo '$(BACKEND)' > $(BACKEND_LOG)) endif #-------------------------------------------------------------------------------