Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Oleksii Turkot
CrystFEL
Commits
c6b74b77
Commit
c6b74b77
authored
Nov 12, 2009
by
Thomas White
Browse files
Sort out libraries and cflags
parent
f09b0fc4
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
c6b74b77
...
...
@@ -18,6 +18,13 @@ AC_FUNC_MALLOC
AC_TYPE_SIGNAL
AC_CHECK_FUNCS([strdup])
LIBS="$LIBS -lhdf5"
AC_ARG_WITH(hdf5,
[AS_HELP_STRING([--with-hdf5], [specify location of HDF5 library])],
[HDF5_CFLAGS="-I$withval/include"
HDF5_LIBS="-L$withval/lib -lhdf5"],
[])
CFLAGS="$CFLAGS $HDF5_CFLAGS"
LIBS="$LIBS $HDF5_LIBS -lm -lgsl -lgslcblas"
AC_OUTPUT(Makefile src/Makefile)
src/Makefile.am
View file @
c6b74b77
bin_PROGRAMS
=
pattern_sim
AM_CFLAGS
=
-Wall
-g
@CFLAGS@
pattern_sim_SOURCES
=
main.c diffraction.c utils.c image.c cell.c hdf5-file.c
pattern_sim_LDADD
=
@LIBS@
-lm
-lgsl
-lgslcblas
pattern_sim_LDADD
=
@LIBS@
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment