Displaying 3 results from an estimated 3 matches for "example_c_decode_file_ldadd".
2007 Sep 12
1
[PATCH] Fix errors in new Makefile.ams
Josh,
The two Makefile.ams that you added recently:
examples/c/decode/file/Makefile.am
examples/cpp/decode/file/Makefile.am
are generating errors like this:
examples/c/decode/file/Makefile.am:22: blank line following trailing backslash
examples/cpp/decode/file/Makefile.am:22: blank line following trailing backslash
The attached patch fixes these.
Erik
--
2013 Apr 06
0
[PATCH 2/2] Only link against libogg (and libm) if needed
.../examples/c/decode/file/Makefile.am
index 7926e48..d3b2b0e 100644
--- a/examples/c/decode/file/Makefile.am
+++ b/examples/c/decode/file/Makefile.am
@@ -22,8 +22,6 @@ EXTRA_DIST = \
AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include
noinst_PROGRAMS = example_c_decode_file
example_c_decode_file_LDADD = \
- $(top_builddir)/src/libFLAC/libFLAC.la \
- @OGG_LIBS@ \
- -lm
+ $(top_builddir)/src/libFLAC/libFLAC.la
example_c_decode_file_SOURCES = main.c
diff --git a/src/flac/Makefile.am b/src/flac/Makefile.am
index 6f0145b..ceae6a5 100644
--- a/src/flac/Makefile.am
+++ b/src/flac/Makefile.am
@@ -50,...
2012 Apr 07
1
[PATCH 2/2] Update and improve autotools build
...c/decode/file/Makefile.am
+++ b/examples/c/decode/file/Makefile.am
@@ -19,7 +19,7 @@ EXTRA_DIST = \
Makefile.lite \
example_c_decode_file.dsp \
example_c_decode_file.vcproj
-
+AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include
noinst_PROGRAMS = example_c_decode_file
example_c_decode_file_LDADD = \
$(top_builddir)/src/libFLAC/libFLAC.la \
diff --git a/examples/c/encode/file/Makefile.am b/examples/c/encode/file/Makefile.am
index 5ae7a63..0ed519a 100644
--- a/examples/c/encode/file/Makefile.am
+++ b/examples/c/encode/file/Makefile.am
@@ -19,7 +19,7 @@ EXTRA_DIST = \
Makefile.lite \
ex...