diff mbox

[2/6] modetest: move includes into AM_CPPFLAGS

Message ID 1422557230-22155-3-git-send-email-emil.l.velikov@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Emil Velikov Jan. 29, 2015, 6:47 p.m. UTC
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
---
 tests/modetest/Makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox

Patch

diff --git a/tests/modetest/Makefile.am b/tests/modetest/Makefile.am
index 40dad3e..a8b9a3a 100644
--- a/tests/modetest/Makefile.am
+++ b/tests/modetest/Makefile.am
@@ -1,12 +1,12 @@ 
 include Makefile.sources
 
-AM_CFLAGS = $(filter-out -Wpointer-arith, $(WARN_CFLAGS))
-
-AM_CFLAGS += \
+AM_CPPFLAGS = \
 	-I$(top_srcdir)/include/drm \
 	-I$(top_srcdir)/tests \
 	-I$(top_srcdir)
 
+AM_CFLAGS = $(filter-out -Wpointer-arith, $(WARN_CFLAGS))
+
 if HAVE_INSTALL_TESTS
 bin_PROGRAMS = \
 	modetest