Re-write examples/Makefile.am a bit

This gets the examples compiling again.
This commit is contained in:
Matthew Brush 2013-03-04 02:35:09 -08:00
parent 3cfc07997b
commit 2aed767bb7
2 changed files with 4 additions and 9 deletions

1
.gitignore vendored
View File

@ -18,3 +18,4 @@ Makefile.in
/build-aux/
/m4/
/src/config.*
/doc/stamp-vti

View File

@ -1,11 +1,5 @@
noinst_PROGRAMS = hash_usage large_hash strings conf_example conf_example2 opt_example
LDADD = -L$(top_srcdir)/src -lcfu
noinst_PROGRAMS = hash_usage large_hash strings conf_example \
conf_example2 opt_example
if DEBUG
AM_CFLAGS = -I$(top_srcdir)/src -DCFU_DEBUG=1
else
AM_CFLAGS = -I$(top_srcdir)/src
endif
AM_LDFLAGS = -Xlinker -rpath -Xlinker $(top_src_dir)/src
LDADD = $(top_builddir)/src/libcfu.a