aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/puredata/Makefile.am4
-rw-r--r--examples/simpletest/Makefile.am2
2 files changed, 2 insertions, 4 deletions
diff --git a/examples/puredata/Makefile.am b/examples/puredata/Makefile.am
index a86acb3..ee594d7 100644
--- a/examples/puredata/Makefile.am
+++ b/examples/puredata/Makefile.am
@@ -15,9 +15,7 @@ xtract_@PD_SUFFIX@_SOURCES = xtract~.c
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.
diff --git a/examples/simpletest/Makefile.am b/examples/simpletest/Makefile.am
index c3ab176..d4d9230 100644
--- a/examples/simpletest/Makefile.am
+++ b/examples/simpletest/Makefile.am
@@ -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