diff --git a/examples/gstplay/Makefile.am b/examples/gstplay/Makefile.am index ec42508845..f80a8bfab2 100644 --- a/examples/gstplay/Makefile.am +++ b/examples/gstplay/Makefile.am @@ -1,9 +1,8 @@ noinst_PROGRAMS = player -AM_CFLAGS = $(GST_CFLAGS) - player_SOURCES = player.c +player_CFLAGS = $(GST_CFLAGS) player_LDFLAGS = \ $(GST_LIBS) \ $(top_builddir)/gst-libs/gst/play/libgstplay-@GST_MAJORMINOR@.la diff --git a/tests/old/examples/gstplay/Makefile.am b/tests/old/examples/gstplay/Makefile.am index ec42508845..f80a8bfab2 100644 --- a/tests/old/examples/gstplay/Makefile.am +++ b/tests/old/examples/gstplay/Makefile.am @@ -1,9 +1,8 @@ noinst_PROGRAMS = player -AM_CFLAGS = $(GST_CFLAGS) - player_SOURCES = player.c +player_CFLAGS = $(GST_CFLAGS) player_LDFLAGS = \ $(GST_LIBS) \ $(top_builddir)/gst-libs/gst/play/libgstplay-@GST_MAJORMINOR@.la