From 879a573e0500b4cce1b9d35fc8916c65e5138740 Mon Sep 17 00:00:00 2001 From: Douglas Clowes Date: Fri, 7 Mar 2014 15:27:29 +1100 Subject: [PATCH] Propagate make CC variable to SICS and hardup makes Allows "CC=clang" or "CC='clang --analyze'" type games --- site_ansto/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site_ansto/Makefile b/site_ansto/Makefile index 368b541d..a4d98ec4 100644 --- a/site_ansto/Makefile +++ b/site_ansto/Makefile @@ -172,10 +172,10 @@ libansto.a: $(OBJ) ranlib libansto.a libhardsup: - $(MAKE) -C hardsup/ INC_TCL8="$(INC_TCL8)" + $(MAKE) -C hardsup/ INC_TCL8="$(INC_TCL8)" "CC=${CC}" libsics: - $(MAKE) -C .. -f site_ansto/Makefile_SICS INC_TCL8="$(INC_TCL8)" INC_HDF5="$(INC_HDF5)" all + $(MAKE) -C .. -f site_ansto/Makefile_SICS INC_TCL8="$(INC_TCL8)" INC_HDF5="$(INC_HDF5)" "CC=${CC}" all anstohm.o : anstohm.cpp $(CXX) -c anstohm.cpp $(CFLAGS) $(CXXFLAGS) -Wno-all