summaryrefslogtreecommitdiff
path: root/Tools.mk
diff options
context:
space:
mode:
authorSebastian Freundt <hroptatyr@fresse.org>2013-04-07 00:02:58 +0000
committerAkira TAGOH <akira@tagoh.org>2013-04-08 11:40:58 +0900
commit18bf57c70aafcad031c0b43756b754dcaf6a756a (patch)
tree4656e01b1cd7d9f1d85f97025ec4308b386e2ee1 /Tools.mk
parent8fd0ed60a62cb7f36b2ade1bd16a66671eaf79da (diff)
build-chain, replace INCLUDES directive by AM_CPPFLAGS
As of automake-13.1 the INCLUDES directive is no longer supported. An automake run will return with an error. This changeset simply follows automake's advice to replace INCLUDES by AM_CPPFLAGS.
Diffstat (limited to 'Tools.mk')
-rw-r--r--Tools.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools.mk b/Tools.mk
index 56766da0..f0fa0ec5 100644
--- a/Tools.mk
+++ b/Tools.mk
@@ -32,7 +32,7 @@ TOOL=./$(DIR)$(EXEEXT_FOR_BUILD)
EXTRA_DIST = $(TARG) $(TMPL) $(TSRC) $(DIST)
-INCLUDES = \
+AM_CPPFLAGS = \
-I$(builddir) \
-I$(srcdir) \
-I$(top_builddir)/src \
@@ -43,7 +43,7 @@ INCLUDES = \
$(WARN_CFLAGS)
$(TOOL): $(TSRC) $(ALIAS_FILES)
- $(AM_V_GEN) $(CC_FOR_BUILD) -o $(TOOL) $< $(INCLUDES)
+ $(AM_V_GEN) $(CC_FOR_BUILD) -o $(TOOL) $< $(AM_CPPFLAGS)
$(TARG): $(TMPL) $(TSRC) $(DEPS)
$(AM_V_GEN) $(MAKE) $(TOOL) && \