From: Nick Bowler Date: Wed, 14 Sep 2011 01:10:39 +0000 (-0400) Subject: Use AM_CPPFLAGS for mandatory preprocessor flags. X-Git-Tag: v1~119 X-Git-Url: https://git.draconx.ca/gitweb/cdecl99.git/commitdiff_plain/eee906c794bfda1f93e056487cf558b9b5fe19bc Use AM_CPPFLAGS for mandatory preprocessor flags. CPPFLAGS is meant to be overridable by the user. Don't use it. --- diff --git a/Makefile.am b/Makefile.am index d05b6a5..447fbbf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -7,7 +7,7 @@ ACLOCAL_AMFLAGS = -I m4 SUBDIRS = lib . -CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src \ +AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src \ -I$(top_builddir)/lib -I$(top_srcdir)/lib MAINTAINERCLEANFILES = src/scan.c src/scan.h src/scan.stamp \