Hi, I am new to libmesh, and have installed it to
$HOME/src/libmesh/build/

I am trying the simplest thing I can think of: copy the source for
introduction_ex1.C into a 'myexamples' subdirectory of
$HOME/src/libmesh/build and create a simple, comprehensible makefile to run
the code.

Do I simply copy and modify the makefile.in from the original example like
so?

example_name  = introduction_ex1

install_dir   = $HOME/src/libmesh/build/myexamples/introduction/ex1
data          = introduction_ex1.C run.sh
sources       = $(data) run.sh

check_SCRIPTS = run.sh
CLEANFILES    = output.xda output.xdr


##############################################
# include common example environment
include $(top_srcdir)/examples/Make.common

PS: I do not understand automake, and so do not understand the 1200 lines
of the makefile.am in the original example, but I sense that I should not
try to modify this since it is generated by automake

Thank you!
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to