From ed2c217868b75ecde4aea023b275eb8da80528ef Mon Sep 17 00:00:00 2001 From: kosako Date: Wed, 23 Mar 2016 18:11:57 +0900 Subject: [PATCH] use AM_CPPFLAGS instead of INCLUDES --- Makefile.am | 2 +- sample/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 6eb8f73..c82933b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,7 +6,7 @@ libname = libonig.la ACLOCAL_AMFLAGS = -I m4 #AM_CFLAGS = -DNOT_RUBY AM_CFLAGS = -INCLUDES = -I$(top_srcdir) -I$(includedir) +AM_CPPFLAGS = -I$(top_srcdir) -I$(includedir) SUBDIRS = . sample diff --git a/sample/Makefile.am b/sample/Makefile.am index af33057..2d0f4ec 100644 --- a/sample/Makefile.am +++ b/sample/Makefile.am @@ -2,7 +2,7 @@ noinst_PROGRAMS = encode listcap names posix simple sql syntax crnl libname = $(top_builddir)/libonig.la LDADD = $(libname) -INCLUDES = -I$(top_srcdir) -I$(includedir) +AM_CPPFLAGS = -I$(top_srcdir) -I$(includedir) encode_SOURCES = encode.c listcap_SOURCES = listcap.c -- 2.40.0