From f9cd5f468e70d53f53921f81a3a4b5fc2b742141 Mon Sep 17 00:00:00 2001 From: jmcmullan Date: Sun, 31 May 2015 03:20:04 +0000 Subject: [PATCH] %build_prog: Fix Makedepend generation with includedir= Signed-off-by: Jason S. McMullan git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@50772 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- config/make.tmpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config/make.tmpl b/config/make.tmpl index 4a3bd3fb95..cad495c8c5 100644 --- a/config/make.tmpl +++ b/config/make.tmpl @@ -1365,15 +1365,15 @@ BD_OBJS := $(addsuffix .o,$(addprefix $(BD_OBJDIR)/,$(notdir $(TMP_FILES)))) BD_DEPS := $(addsuffix .d,$(addprefix $(BD_OBJDIR)/,$(notdir $(TMP_FILES)))) BD_CFLAGS := %(cflags) -BD_AFLAGS := %(aflags) -BD_DFLAGS := %(dflags) -BD_LDFLAGS := %(ldflags) - ifneq (%(includedir),) BD_CFLAGS += -I%(includedir) +endif +BD_AFLAGS := %(aflags) +ifneq (%(includedir),) BD_AFLAGS += -I%(includedir) endif - +BD_DFLAGS := %(dflags) +BD_LDFLAGS := %(ldflags) ifneq (%(libdir),) BD_LDFLAGS += -L%(libdir) endif -- 2.11.4.GIT