Hello

I am trying to understand the compilation process here. Using the Make.common 
in my Makefile generates libmesh_LIBS that I will use in my application’s 
Makefile. However, as I have recently learned, since libmesh is a shared 
library, I might not need to link to all those libraries since libMesh already 
links to them. How should I deal with this? Does libtool come here to get rid 
of all the unnecessary libraries? I found this in one of the examples’ old 
Makefile.


$(notdir $(target)): $(objects)

@echo "Linking "$@"..."

@$(libmesh_LIBTOOL) --tag=CXX $(LIBTOOLFLAGS) --mode=link \

$(libmesh_CXX) $(libmesh_CXXFLAGS) $(objects) -o $@ $(libmesh_LIBS) 
$(libmesh_LDFLAGS) $(EXTERNAL_FLAGS)


Thanks

Miguel

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to