aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.in
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-12-08 14:13:44 -0700
committerThomas White <taw@physics.org>2012-02-22 15:27:08 +0100
commit049674d67f7e512740dd246aa0891a8e9db89f2c (patch)
treee3787a5f56ba2b45b4b5662cb6218419738213a7 /src/Makefile.in
parent0e12a9b5f4e703ee14e088a3121b6774c238647d (diff)
Update compiler flags to get Gnulib replacement functions
Diffstat (limited to 'src/Makefile.in')
-rw-r--r--src/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 4ff655f3..d280bafa 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -397,7 +397,8 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
AM_CFLAGS = -Wall
-AM_CPPFLAGS = -DDATADIR=\""$(datadir)"\"
+AM_CPPFLAGS = -DDATADIR=\""$(datadir)"\" -I$(top_builddir)/lib -I$(top_srcdir)/lib
+LDADD = lib/libgnu.a
ACLOCAL_AMFLAGS = -I m4
pattern_sim_SOURCES = pattern_sim.c diffraction.c utils.c image.c \
cell.c hdf5-file.c detector.c sfac.c peaks.c reflections.c \