Index: test/benchmarks/step_api/Makefile =================================================================== --- /dev/null +++ test/benchmarks/step_api/Makefile @@ -0,0 +1,5 @@ +LEVEL = ../../make + +CXX_SOURCES := main.cpp + +include $(LEVEL)/Makefile.rules Index: test/make/Makefile.rules =================================================================== --- test/make/Makefile.rules +++ test/make/Makefile.rules @@ -69,7 +69,13 @@ #---------------------------------------------------------------------- CC ?= clang ifeq "$(CC)" "cc" - CC = clang + ifneq "$(shell which clang)" "" + CC = clang + else ifneq "$(shell which clang-3.5)" "" + CC = clang-3.5 + else ifneq "$(shell which gcc)" "" + CC = gcc + endif endif #----------------------------------------------------------------------