Skip to content

Commit

Permalink
Makefile changes to deal with neml_export.h ref idaholab#66
Browse files Browse the repository at this point in the history
  • Loading branch information
bwspenc committed Apr 8, 2020
1 parent 199745f commit aaeb489
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/neml.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ neml_srcfiles := $(shell find $(neml_DIR)/src -name "*.cxx" | grep -v _wra
neml_objects += $(patsubst %.cxx,%.$(obj-suffix),$(neml_srcfiles))
neml_LIB := $(neml_DIR)/libneml-$(METHOD).la
neml_includes := $(neml_DIR)/src
neml_dep_includes := -I$(neml_DIR)/rapidxml -I$(neml_DIR)/../neml_extra_include
neml_dep_includes := -I$(neml_DIR)/rapidxml -I$(BLACKBEAR_DIR)/contrib/neml_extra_include

$(APPLICATION_DIR)/lib/libblackbear-$(METHOD).la: $(neml_LIB)

Expand All @@ -23,7 +23,7 @@ $(neml_DIR)/src/%.$(obj-suffix) : $(neml_DIR)/src/%.cxx
@$(libmesh_LIBTOOL) --tag=CXX $(LIBTOOLFLAGS) --mode=compile --quiet \
$(libmesh_CXX) $(libmesh_CPPFLAGS) $(ADDITIONAL_CPPFLAGS) $(libmesh_CXXFLAGS) $(neml_dep_includes) $(app_INCLUDES) $(libmesh_INCLUDE) -w -DHAVE_CONFIG_H -MMD -MP -MF $@.d -MT $@ -c $< -o $@

ADDITIONAL_INCLUDES += -I$(neml_includes)
ADDITIONAL_INCLUDES += -I$(neml_includes) $(neml_dep_includes)
ADDITIONAL_LIBS += -L$(neml_DIR) -lneml-$(METHOD)
ADDITIONAL_CPPFLAGS += -DNEML_ENABLED

Expand Down

0 comments on commit aaeb489

Please sign in to comment.