diff options
Diffstat (limited to 'mk/autodep.mk')
-rw-r--r-- | mk/autodep.mk | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/mk/autodep.mk b/mk/autodep.mk index 7b5029f15728..a7bb942278c9 100644 --- a/mk/autodep.mk +++ b/mk/autodep.mk @@ -1,16 +1,16 @@ # # RCSid: -# $Id: autodep.mk,v 1.37 2020/04/17 21:08:17 sjg Exp $ +# $Id: autodep.mk,v 1.38 2020/08/19 17:51:53 sjg Exp $ # # @(#) Copyright (c) 1999-2010, Simon J. Gerraty # # This file is provided in the hope that it will # be of use. There is absolutely NO WARRANTY. # Permission to copy, redistribute or otherwise -# use this file is hereby granted provided that +# use this file is hereby granted provided that # the above copyright notice and this notice are -# left intact. -# +# left intact. +# # Please send copies of changes and bug-fixes to: # sjg@crufty.net @@ -51,7 +51,7 @@ ${s:T:R}.d: $s .endfor __depsrcs:=${__depsrcs:T:R:S/$/.d/g} -# we also need to handle makefiles where the .d's from __depsrcs +# we also need to handle makefiles where the .d's from __depsrcs # don't match those from OBJS # we avoid using := here, since the modifier applied to OBJS # can cause trouble if there are any undefined vars in OBJS. @@ -64,7 +64,7 @@ __dependsrcs= ${__dependsrcsx:O:u} # set this to -MMD to ignore /usr/include # actually it ignores <> so may not be a great idea -CFLAGS_MD?=-MD +CFLAGS_MD?=-MD # -MF etc not available on all gcc versions. # we "fix" the .o later CFLAGS_MF?=-MF ${.TARGET:T:R}.d -MT ${.TARGET:T:R}.o @@ -73,8 +73,8 @@ RM?= rm MAKE_SHELL?= sh # watch out for people who don't use CPPFLAGS -CPPFLAGS_MD=${CFLAGS:M-[IUD]*} ${CPPFLAGS} -CXXFLAGS_MD=${CXXFLAGS:M-[IUD]*} ${CPPFLAGS} +CPPFLAGS_MD=${CFLAGS:M-[IUD]*} ${CPPFLAGS} +CXXFLAGS_MD=${CXXFLAGS:M-[IUD]*} ${CPPFLAGS} # just in case these need to be different CC_MD?=${CC} |