aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorGilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>2015-03-27 16:42:18 +0100
committerGilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>2015-03-27 16:42:18 +0100
commit19dcd39d26b23813fd6aa8c0a3c2319a085aa7ba (patch)
tree8bea39078a498334dbec4742cb729019ada4a5e5 /examples
parent7645027d0d11c8dbb57c770090adea374bdc049c (diff)
downloadiperf3-19dcd39d26b23813fd6aa8c0a3c2319a085aa7ba.tar.gz
Fix out-of-tree build
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 0f0c658..829f242 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -1,5 +1,7 @@
noinst_PROGRAMS = mic mis # Build, but don't install
+AM_CPPFLAGS = -I$(top_srcdir)/src
+
mic_SOURCES = mic.c
mic_CFLAGS = -g
mic_LDADD = ../src/libiperf.la
@@ -9,4 +11,3 @@ mis_SOURCES = mis.c
mis_CFLAGS = -g
mis_LDADD = ../src/libiperf.la
mis_LDFLAGS = -g
-