changeset 220:4a85175004d9

Replace deprecated INCLUDES directive with AM_CFLAGS
author Jamie Bullock <jamie@jamiebullock.com>
date Wed, 04 Jun 2014 14:16:10 +0100
parents eb2ab9b70c29
children 82bc4ce956d4
files examples/puredata/Makefile.am examples/simpletest/Makefile.am
diffstat 2 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/examples/puredata/Makefile.am	Wed Jun 04 14:15:19 2014 +0100
+++ b/examples/puredata/Makefile.am	Wed Jun 04 14:16:10 2014 +0100
@@ -15,9 +15,7 @@
 
 pdincludedir = $(pddir)/src
 
-INCLUDES = -I$(top_srcdir)/src -I$(pdincludedir)
-
-AM_CFLAGS = @PD_CFLAGS@
+AM_CFLAGS = @PD_CFLAGS@ -I$(top_srcdir)/src -I$(pdincludedir)
 AM_LDFLAGS = @PD_LDFLAGS@ -lxtract -L$(top_builddir)/src/
 		
 ## Install the documentation.
--- a/examples/simpletest/Makefile.am	Wed Jun 04 14:15:19 2014 +0100
+++ b/examples/simpletest/Makefile.am	Wed Jun 04 14:16:10 2014 +0100
@@ -1,7 +1,7 @@
 MAINTAINERCLEANFILES = Makefile.in
 
 noinst_PROGRAMS = simpletest
-INCLUDES = -I$(top_srcdir)/src
+AM_CFLAGS = -I$(top_srcdir)/src
 simpletest_SOURCES = simpletest.c
 simpletest_LDADD = ../../src/libxtract.la