diff --git a/data/Makefile.in b/data/Makefile.in index aa2a5886..e11d5d10 100644 --- a/data/Makefile.in +++ b/data/Makefile.in @@ -177,7 +177,10 @@ INTEL := icpc GCC := g++ ifdef CLANG_ONLY -COMPILERS = CLANG +COMPILERS := CLANG +else +COMPILERS := $(foreach c, GCC INTEL CLANG, \ + $(if $(shell which $($(c)) 2>/dev/null), $c,)) endif HOSTNAME := $(shell hostname) @@ -338,8 +341,6 @@ R_TARGET := $(RESULTS_DIR)/$(R_ID) R_OBJ := $(addprefix $(OBJ_DIR)/,$(notdir $(SOURCE:%.cpp=%_$(R_ID).o))) R_DEP := $(R_OBJ:%.o=%.d) -$(info $(R_OBJ)) - -include $(R_DEP) .PHONY: rec