diff --git a/deps/src/fdaqmap/Makefile b/deps/src/fdaqmap/Makefile index a2f23c3..2bc71fd 100644 --- a/deps/src/fdaqmap/Makefile +++ b/deps/src/fdaqmap/Makefile @@ -1,14 +1,14 @@ .PHONY : clean ERR = $(shell which icpc>/dev/null; echo $$?) -ifeq "$(ERR)" "0" - CXX = icpc - CFLAGS = -fPIC -O3 -g # C flags - LDFLAGS = -shared # linking flags -else +#ifeq "$(ERR)" "0" +# CXX = icpc +# CFLAGS = -fPIC -O3 -g # C flags +# LDFLAGS = -shared # linking flags +#else CFLAGS = -fPIC -std=c++11 -O3 -g # C flags LDFLAGS = -shared # linking flags -endif +#endif LIB=fdaqmap SUFFIX=so diff --git a/deps/src/gropt/Makefile b/deps/src/gropt/Makefile index 892fa17..965b423 100644 --- a/deps/src/gropt/Makefile +++ b/deps/src/gropt/Makefile @@ -3,27 +3,27 @@ OS := $(shell uname) ERR = $(shell which icpc>/dev/null; echo $$?) ifeq "$(OS)" "Darwin" - ifeq "$(ERR)" "0" - CXX = icpc - CFLAGS = -fPIC -std=c++11 -O3 -g -mkl - LDFLAGS = -shared - LIBS = -lmkl_rt -lpthread - else +# ifeq "$(ERR)" "0" +# CXX = icpc +# CFLAGS = -fPIC -std=c++11 -O3 -g -mkl +# LDFLAGS = -shared +# LIBS = -lmkl_rt -lpthread +# else CFLAGS = -fPIC -std=c++11 -O3 -g # C flags LDFLAGS = -shared # linking flags LIBS = -lblas -llapack - endif +# endif else - ifeq "$(ERR)" "0" - CXX = icpc - CFLAGS = -fPIC -O3 -g # C flags - LDFLAGS = -shared # linking flags - LIBS = -lmkl_rt -lpthread - else +# ifeq "$(ERR)" "0" +# CXX = icpc +# CFLAGS = -fPIC -O3 -g # C flags +# LDFLAGS = -shared # linking flags +# LIBS = -lmkl_rt -lpthread +# else CFLAGS = -fPIC -std=c++11 -O3 -g -L./destdir/lib # C flags LDFLAGS = -shared # linking flags LIBS = -lopenblas64_ - endif +# endif endif LIB=gropt