1BUILT_SOURCES = femparameters.C # femparameters.h
2DISTCLEANFILES = $(BUILT_SOURCES)
3
4femparameters.C: $(top_srcdir)/examples/adjoints/adjoints_ex1/femparameters.C
5	$(AM_V_GEN)$(LN_S) -f $< $@
6
7#femparameters.h: $(top_srcdir)/examples/adjoints/adjoints_ex1/femparameters.h
8#	$(AM_V_GEN)$(LN_S) -f $< .
9
10example_name  = adjoints_ex5
11check_SCRIPTS = run.sh
12install_dir   = $(examples_install_path)/adjoints/ex5
13data          = heatsystem.C element_qoi_derivative.C factoryfunction.C general.in initial.C heatsystem.h adjoints_ex5.C femparameters.C heat.in femparameters.h adjoint_initial.C adjoint_initial.h initial.h run.sh
14sources       = $(data) run.sh
15
16CLEANFILES = *.gmv.* primal.e* dual.e* primal.out.xda.* adjoint.out.xda.*
17
18# also need links for VPATH builds
19if LIBMESH_VPATH_BUILD
20  BUILT_SOURCES += .linkstamp
21.linkstamp:
22	-rm -f general.in  && $(LN_S) -f $(srcdir)/general.in .
23	-rm -f heat.in && $(LN_S) -f $(srcdir)/heat.in .
24	$(AM_V_GEN)touch .linkstamp
25
26  CLEANFILES += general.in heat.in .linkstamp
27endif
28
29##############################################
30# include common example environment
31include $(top_srcdir)/examples/Make.common
32