# Makefile generated by mfront. # tfel # Version : 3.3.0 # Compiled with on - # Please submit bug at tfel-contact@cea.fr export LD_LIBRARY_PATH:=$(PWD):$(LD_LIBRARY_PATH) INCLUDES := -I../include \ $(shell tfel-config --cppflags --compiler-flags) \ -I"$(strip $(shell tfel-config --include-path))" CXXFLAGS := -Wall -Wfatal-errors -ansi $(shell tfel-config --oflags) -fPIC $(INCLUDES) SRCCXX = IsotropicLinearHardeningPlasticity-generic.cxx IsotropicLinearHardeningPlasticity.cxx LogarithmicStrainPlasticity-generic.cxx LogarithmicStrainPlasticity.cxx MultiphaseModel-generic.cxx MultiphaseModel.cxx PhaseField-generic.cxx PhaseField.cxx PhaseFieldCoupled-generic.cxx PhaseFieldCoupled.cxx StationaryHeatTransfer-generic.cxx StationaryHeatTransfer.cxx makefiles1 = $(SRCCXX:.cxx=.d) makefiles2 = $(makefiles1:.cpp=.d) makefiles = $(makefiles2) .PHONY = all install clean libBehaviour.so all : libBehaviour.so libBehaviour.so : MultiphaseModel-generic.o MultiphaseModel.o PhaseField-generic.o PhaseField.o PhaseFieldCoupled-generic.o PhaseFieldCoupled.o IsotropicLinearHardeningPlasticity-generic.o IsotropicLinearHardeningPlasticity.o LogarithmicStrainPlasticity-generic.o LogarithmicStrainPlasticity.o StationaryHeatTransfer-generic.o StationaryHeatTransfer.o @$(CXX) -shared $^ -o $@ -L"$(strip $(shell tfel-config --library-path))" $(patsubst %,-l%,$(shell tfel-config --library-dependency --material --mfront-profiling --physical-constants)) install : clean : @rm -f *.o *.so *.d *.d.* -include $(makefiles) %.o:%.cxx @$(CXX) $(CXXFLAGS) $< -o $@ -c %.o:%.cpp @$(CXX) $(CXXFLAGS) $< -o $@ -c %.d:%.cxx @set -e; rm -f $@; \ $(CXX) -M $(CXXFLAGS) $< > $@.$$$$; \ sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \ rm -f $@.$$$$ %.d:%.cpp @set -e; rm -f $@; \ $(CXX) -M $(CXXFLAGS) $< > $@.$$$$; \ sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \ rm -f $@.$$$$