From e09db18e32a2719b0ac72ec2ef73150d26d11d81 Mon Sep 17 00:00:00 2001 From: aprilnovak Date: Tue, 10 Jan 2023 11:24:11 -0600 Subject: [PATCH] Move CC_LIST --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 5b924cd76..92eba9efe 100644 --- a/Makefile +++ b/Makefile @@ -315,10 +315,6 @@ build_moab: endif -ifeq ($(ENABLE_NEK), yes) - include $(CARDINAL_DIR)/config/nekrs.mk -else - # autoconf-archive puts some arguments (e.g. -std=c++17) into the compiler # variable rather than the compiler flags variable. # @@ -329,6 +325,10 @@ LIBMESH_CC_LIST := $(subst $(space),;,$(libmesh_CC)) LIBMESH_CXX_LIST := $(subst $(space),;,$(libmesh_CXX)) LIBMESH_F90_LIST := $(subst $(space),;,$(libmesh_F90)) +ifeq ($(ENABLE_NEK), yes) + include $(CARDINAL_DIR)/config/nekrs.mk +else + build_nekrs: $(info Skipping Nek build because ENABLE_NEK is not set to 'yes')