Displaying 5 results from an estimated 5 matches for "example_c_decode_file".
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
--
2012 Apr 07
1
[PATCH 2/2] Update and improve autotools build
...-loops -Wall -W -Winline $CFLAGS"
fi
fi
diff --git a/examples/c/decode/file/Makefile.am b/examples/c/decode/file/Makefile.am
index 11a48bf..30f8691 100644
--- a/examples/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/encod...
2013 Apr 06
0
[PATCH 2/2] Only link against libogg (and libm) if needed
...code/file/Makefile.am b/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...
2012 Dec 26
0
[PATCH] Fix building with MSYS and MinGW(-w64); Improve Makefile.lite build system
...rict-prototypes -DVERSION=$(VERSION)
$(DEFINES) $(INCLUDES)
diff --git a/examples/c/decode/file/Makefile.lite
b/examples/c/decode/file/Makefile.lite
index fb43c5f..35bfa5c 100644
--- a/examples/c/decode/file/Makefile.lite
+++ b/examples/c/decode/file/Makefile.lite
@@ -27,9 +27,9 @@ PROGRAM_NAME = example_c_decode_file
INCLUDES = -I$(topdir)/include
ifeq ($(OS),Darwin)
-EXPLICIT_LIBS = $(libdir)/libFLAC.a $(OGG_LIB_DIR)/libogg.a -lm
+ EXPLICIT_LIBS = $(libdir)/libFLAC.a $(OGG_EXPLICIT_LIBS) -lm
else
-LIBS = -lFLAC -L$(OGG_LIB_DIR) -logg -lm
+ LIBS = -lFLAC $(OGG_LIBS) -lm
endif
SRCS_C = main.c
d...
2012 Dec 27
4
[PATCH] Makefile.lite: Fix building with MSYS and MinGW(-w64), Improvements
...rict-prototypes -DVERSION=$(VERSION)
$(DEFINES) $(INCLUDES)
diff --git a/examples/c/decode/file/Makefile.lite
b/examples/c/decode/file/Makefile.lite
index fb43c5f..35bfa5c 100644
--- a/examples/c/decode/file/Makefile.lite
+++ b/examples/c/decode/file/Makefile.lite
@@ -27,9 +27,9 @@ PROGRAM_NAME = example_c_decode_file
INCLUDES = -I$(topdir)/include
ifeq ($(OS),Darwin)
-EXPLICIT_LIBS = $(libdir)/libFLAC.a $(OGG_LIB_DIR)/libogg.a -lm
+ EXPLICIT_LIBS = $(libdir)/libFLAC.a $(OGG_EXPLICIT_LIBS) -lm
else
-LIBS = -lFLAC -L$(OGG_LIB_DIR) -logg -lm
+ LIBS = -lFLAC $(OGG_LIBS) -lm
endif
SRCS_C = main.c
d...