Commit 7b1079ae authored by gsell's avatar gsell
Browse files

example/H5Fed/Makefile.am

- compile static if ENABLE_DEBUG is set. This makes life simpler if we build shared libs
parent ecd27234
Pipeline #14 skipped
# #
# Copyright (c) 2006-2015, The Regents of the University of California, # Copyright (c) 2006-2016, The Regents of the University of California,
# through Lawrence Berkeley National Laboratory (subject to receipt of any # through Lawrence Berkeley National Laboratory (subject to receipt of any
# required approvals from the U.S. Dept. of Energy) and the Paul Scherrer # required approvals from the U.S. Dept. of Energy) and the Paul Scherrer
# Institut (Switzerland). All rights reserved.! # Institut (Switzerland). All rights reserved.!
...@@ -10,6 +10,9 @@ ...@@ -10,6 +10,9 @@
AM_CPPFLAGS += -I${abs_top_srcdir}/src/include AM_CPPFLAGS += -I${abs_top_srcdir}/src/include
FFLAGS += -cpp $(AM_CPPFLAGS) FFLAGS += -cpp $(AM_CPPFLAGS)
AM_LDFLAGS += -L${abs_top_builddir}/src/h5core/.libs AM_LDFLAGS += -L${abs_top_builddir}/src/h5core/.libs
if ENABLE_DEBUG
AM_LDFLAGS += -static
endif
LDADD = LDADD =
LDADD += -lH5hut LDADD += -lH5hut
...@@ -46,11 +49,12 @@ EXTRA_DIST = \ ...@@ -46,11 +49,12 @@ EXTRA_DIST = \
trimesh_write.c \ trimesh_write.c \
trimesh_2gnuplot.c \ trimesh_2gnuplot.c \
trimesh_write_dunetest.c trimesh_write_dunetest.c
endif
# map_tet2globalid.c \ # map_tet2globalid.c \
# map_triangle2globalid.c \ # map_triangle2globalid.c \
# $(bin_SCRIPTS) # $(bin_SCRIPTS)
endif
clean-local: clean-local:
$(RM) *.h5 *~ $(RM) *.h5 *~
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment