diff --git a/arch/arm/src/Makefile b/arch/arm/src/Makefile index 32507ba297..2d7ac3f18e 100644 --- a/arch/arm/src/Makefile +++ b/arch/arm/src/Makefile @@ -194,7 +194,7 @@ endif # Dependencies -.depend: Makefile chip$(DELIM)Make.defs $(SRCS) +.depend: Makefile chip$(DELIM)Make.defs $(SRCS) $(TOPDIR)$(DELIM).config ifeq ($(BOARDMAKE),y) $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend endif diff --git a/arch/avr/src/Makefile b/arch/avr/src/Makefile index 43dfcd80f2..05890e2547 100644 --- a/arch/avr/src/Makefile +++ b/arch/avr/src/Makefile @@ -140,7 +140,7 @@ export_startup: board/libboard$(LIBEXT) $(STARTUP_OBJS) # Dependencies -.depend: Makefile chip/Make.defs $(SRCS) +.depend: Makefile chip/Make.defs $(SRCS) $(TOPDIR)$(DELIM).config ifeq ($(BOARDMAKE),y) $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend endif diff --git a/arch/hc/src/Makefile b/arch/hc/src/Makefile index a06af91c8f..0712eeeca8 100644 --- a/arch/hc/src/Makefile +++ b/arch/hc/src/Makefile @@ -155,7 +155,7 @@ export_startup: board/libboard$(LIBEXT) $(STARTUP_OBJS) # Dependencies -.depend: Makefile chip/Make.defs $(SRCS) +.depend: Makefile chip/Make.defs $(SRCS) $(TOPDIR)$(DELIM).config ifeq ($(BOARDMAKE),y) $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend endif diff --git a/arch/mips/src/Makefile b/arch/mips/src/Makefile index 899c9a2634..8b0df88f83 100644 --- a/arch/mips/src/Makefile +++ b/arch/mips/src/Makefile @@ -138,7 +138,7 @@ export_startup: board/libboard$(LIBEXT) $(STARTUP_OBJS) # Dependencies -.depend: Makefile chip/Make.defs $(SRCS) +.depend: Makefile chip/Make.defs $(SRCS) $(TOPDIR)$(DELIM).config ifeq ($(BOARDMAKE),y) $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend endif diff --git a/arch/misoc/src/Makefile b/arch/misoc/src/Makefile index d4f4507a2a..e81fe39bdf 100644 --- a/arch/misoc/src/Makefile +++ b/arch/misoc/src/Makefile @@ -141,7 +141,7 @@ export_startup: board/libboard$(LIBEXT) $(STARTUP_OBJS) # Dependencies -.depend: Makefile chip/Make.defs $(SRCS) +.depend: Makefile chip/Make.defs $(SRCS) $(TOPDIR)$(DELIM).config ifeq ($(BOARDMAKE),y) $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend endif diff --git a/arch/or1k/src/Makefile b/arch/or1k/src/Makefile index 6564902990..cf774eb2e5 100644 --- a/arch/or1k/src/Makefile +++ b/arch/or1k/src/Makefile @@ -181,7 +181,7 @@ endif # Dependencies -.depend: Makefile chip$(DELIM)Make.defs $(SRCS) +.depend: Makefile chip$(DELIM)Make.defs $(SRCS) $(TOPDIR)$(DELIM).config ifeq ($(BOARDMAKE),y) $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend endif diff --git a/arch/renesas/src/Makefile b/arch/renesas/src/Makefile index 15a64c2a0f..7bf8c5fc8e 100644 --- a/arch/renesas/src/Makefile +++ b/arch/renesas/src/Makefile @@ -149,7 +149,7 @@ export_startup: board/libboard$(LIBEXT) $(STARTUP_OBJS) # Dependencies -.depend: Makefile chip/Make.defs $(SRCS) +.depend: Makefile chip/Make.defs $(SRCS) $(TOPDIR)$(DELIM).config ifeq ($(BOARDMAKE),y) $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend endif diff --git a/arch/risc-v/src/Makefile b/arch/risc-v/src/Makefile index eba63324c8..dd43dc3d2f 100644 --- a/arch/risc-v/src/Makefile +++ b/arch/risc-v/src/Makefile @@ -184,7 +184,7 @@ endif # Dependencies -.depend: Makefile $(SRCS) +.depend: Makefile $(SRCS) $(TOPDIR)$(DELIM).config ifeq ($(BOARDMAKE),y) $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend endif diff --git a/arch/sim/src/Makefile b/arch/sim/src/Makefile index ed9e2ce893..06170ecae2 100644 --- a/arch/sim/src/Makefile +++ b/arch/sim/src/Makefile @@ -321,7 +321,7 @@ export_startup: board/libboard$(LIBEXT) up_head.o $(HOSTOBJS) # Dependencies -.depend: Makefile $(SRCS) +.depend: Makefile $(SRCS) $(TOPDIR)$(DELIM).config $(Q) if [ -e board/Makefile ]; then \ $(MAKE) -C board TOPDIR="$(TOPDIR)" depend ; \ fi diff --git a/arch/x86/src/Makefile b/arch/x86/src/Makefile index a2953f7d7c..31ab9e58cd 100644 --- a/arch/x86/src/Makefile +++ b/arch/x86/src/Makefile @@ -153,7 +153,7 @@ export_startup: board/libboard$(LIBEXT) $(STARTUP_OBJS) # Dependencies -.depend: Makefile chip/Make.defs $(SRCS) +.depend: Makefile chip/Make.defs $(SRCS) $(TOPDIR)$(DELIM).config ifeq ($(BOARDMAKE),y) $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend endif diff --git a/arch/x86_64/src/Makefile b/arch/x86_64/src/Makefile index 1219dc780b..65bc34127a 100644 --- a/arch/x86_64/src/Makefile +++ b/arch/x86_64/src/Makefile @@ -148,7 +148,7 @@ export_startup: board/libboard$(LIBEXT) $(STARTUP_OBJS) # Dependencies -.depend: Makefile chip/Make.defs $(SRCS) +.depend: Makefile chip/Make.defs $(SRCS) $(TOPDIR)$(DELIM).config ifeq ($(BOARDMAKE),y) $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend endif diff --git a/arch/xtensa/src/Makefile b/arch/xtensa/src/Makefile index 7a52fcd6a3..fd6111cc45 100644 --- a/arch/xtensa/src/Makefile +++ b/arch/xtensa/src/Makefile @@ -139,7 +139,7 @@ export_startup: board/libboard$(LIBEXT) $(STARTUP_OBJS) # Dependencies -.depend: Makefile chip/Make.defs $(SRCS) +.depend: Makefile chip/Make.defs $(SRCS) $(TOPDIR)$(DELIM).config ifeq ($(BOARDMAKE),y) $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend endif diff --git a/arch/z16/src/Makefile b/arch/z16/src/Makefile index c73e96ed17..669d3229e6 100644 --- a/arch/z16/src/Makefile +++ b/arch/z16/src/Makefile @@ -109,7 +109,7 @@ nuttx$(EXEEXT): $(HEAD_OBJ) board/libboard$(LIBEXT) nuttx.linkcmd @echo "LD: nuttx$(EXEEXT)" $(Q) $(LD) $(LDFLAGS) -.depend: Makefile chip/Make.defs $(DEPSRCS) +.depend: Makefile chip/Make.defs $(DEPSRCS) $(TOPDIR)$(DELIM).config ifeq ($(CONFIG_WINDOWS_NATIVE),y) $(Q) if exist board$(DELIM)Makefile ( $(MAKE) -C board TOPDIR="$(TOPDIR)" depend ) else diff --git a/arch/z80/src/Makefile.sdccl b/arch/z80/src/Makefile.sdccl index bc328d944d..ea8c3f80bf 100644 --- a/arch/z80/src/Makefile.sdccl +++ b/arch/z80/src/Makefile.sdccl @@ -207,7 +207,7 @@ export_startup: board/libboard$(LIBEXT) $(STARTUP_OBJS) # Build dependencies -.depend: Makefile asm_mem.h chip/Make.defs $(DEPSRCS) +.depend: Makefile asm_mem.h chip/Make.defs $(DEPSRCS) $(TOPDIR)$(DELIM).config $(Q) if [ -e board/Makefile ]; then \ $(MAKE) -C board TOPDIR="$(TOPDIR)" depend ; \ fi diff --git a/arch/z80/src/Makefile.sdccw b/arch/z80/src/Makefile.sdccw index 016023f843..f7f0141997 100644 --- a/arch/z80/src/Makefile.sdccw +++ b/arch/z80/src/Makefile.sdccw @@ -201,7 +201,7 @@ export_startup: board\libboard$(LIBEXT) $(STARTUP_OBJS) # Build dependencies -.depend: Makefile asm_mem.h chip\Make.defs $(DEPSRCS) +.depend: Makefile asm_mem.h chip\Make.defs $(DEPSRCS) $(TOPDIR)$(DELIM).config $(Q) if exist board\Makefile ( $(MAKE) -C board TOPDIR="$(TOPDIR)" depend ) $(Q) $(MKDEP) --dep-path chip --dep-path common "$(CC)" -- $(CFLAGS) -- $(DEPSRCS) >Make.dep $(Q) touch $@ diff --git a/arch/z80/src/Makefile.zdsiil b/arch/z80/src/Makefile.zdsiil index 4ed5530c44..cf190c7305 100644 --- a/arch/z80/src/Makefile.zdsiil +++ b/arch/z80/src/Makefile.zdsiil @@ -137,7 +137,7 @@ nuttx$(EXEEXT): $(HEAD_OBJ) board$(DELIM)libboard$(LIBEXT) nuttx.linkcmd @echo "LD: nuttx$(EXEEXT)" $(Q) "$(LD)" $(LDFLAGS) -.depend: Makefile chip$(DELIM)Make.defs $(DEPSRCS) +.depend: Makefile chip$(DELIM)Make.defs $(DEPSRCS) $(TOPDIR)$(DELIM).config $(Q) if [ -e board$(DELIM)Makefile ]; then \ $(MAKE) -C board TOPDIR="$(TOPDIR)" depend ; \ fi diff --git a/arch/z80/src/Makefile.zdsiiw b/arch/z80/src/Makefile.zdsiiw index e609ffd425..4dcfec7348 100644 --- a/arch/z80/src/Makefile.zdsiiw +++ b/arch/z80/src/Makefile.zdsiiw @@ -126,7 +126,7 @@ nuttx$(EXEEXT): $(HEAD_OBJ) board$(DELIM)libboard$(LIBEXT) nuttx.linkcmd @echo "LD: nuttx$(EXEEXT)" $(Q) "$(LD)" $(LDFLAGS) -.depend: Makefile chip$(DELIM)Make.defs $(DEPSRCS) +.depend: Makefile chip$(DELIM)Make.defs $(DEPSRCS) $(TOPDIR)$(DELIM).config $(Q) if exist board$(DELIM)Makefile ( $(MAKE) -C board TOPDIR="$(TOPDIR)" depend ) $(Q) $(MKDEP) --dep-path chip --dep-path common "$(CC)" -- $(CFLAGS) -- $(DEPSRCS) >Make.dep $(Q) touch $@ diff --git a/audio/Makefile b/audio/Makefile index 3a5c3706d0..9fcabcdc47 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -69,7 +69,7 @@ $(COBJS): %$(OBJEXT): %.c $(BIN): $(OBJS) $(call ARCHIVE, $@, $(OBJS)) -.depend: Makefile $(SRCS) +.depend: Makefile $(SRCS) $(TOPDIR)$(DELIM).config $(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep $(Q) touch $@ diff --git a/binfmt/Makefile b/binfmt/Makefile index fb23f2fd51..23dcdab4f4 100644 --- a/binfmt/Makefile +++ b/binfmt/Makefile @@ -81,7 +81,7 @@ $(BINFMT_COBJS): %$(OBJEXT): %.c $(BIN): $(BINFMT_OBJS) $(call ARCHIVE, $@, $(BINFMT_OBJS)) -.depend: Makefile $(BINFMT_SRCS) +.depend: Makefile $(BINFMT_SRCS) $(TOPDIR)$(DELIM).config $(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(BINFMT_SRCS) >Make.dep $(Q) touch $@ diff --git a/boards/Board.mk b/boards/Board.mk index 1a53161a26..7e642d24d9 100644 --- a/boards/Board.mk +++ b/boards/Board.mk @@ -112,7 +112,7 @@ ifneq ($(CXXOBJS),) $(call ARCHIVE, $@, $(CXXOBJS)) endif -.depend: Makefile $(SRCS) $(CXXSRCS) $(RCSRCS) +.depend: Makefile $(SRCS) $(CXXSRCS) $(RCSRCS) $(TOPDIR)$(DELIM).config ifneq ($(ZDSVERSION),) $(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep else diff --git a/boards/Makefile b/boards/Makefile index d8019632ef..e6ef740f03 100644 --- a/boards/Makefile +++ b/boards/Makefile @@ -99,7 +99,7 @@ $(CXXOBJS): %$(OBJEXT): %.cxx $(BIN): $(OBJS) $(call ARCHIVE, $@, $(OBJS)) -.depend: Makefile $(SRCS) +.depend: Makefile $(SRCS) $(TOPDIR)$(DELIM).config ifneq ($(SRCS),) $(Q) $(MKDEP) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep endif diff --git a/crypto/Makefile b/crypto/Makefile index 394986a6da..fd663fe816 100644 --- a/crypto/Makefile +++ b/crypto/Makefile @@ -90,7 +90,7 @@ $(COBJS): %$(OBJEXT): %.c $(BIN): $(OBJS) $(call ARCHIVE, $@, $(OBJS)) -.depend: Makefile $(SRCS) +.depend: Makefile $(SRCS) $(TOPDIR)$(DELIM).config ifeq ($(CONFIG_CRYPTO),y) $(Q) $(MKDEP) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep endif diff --git a/drivers/Makefile b/drivers/Makefile index 8bd419b059..dd695b82af 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -118,7 +118,7 @@ $(COBJS): %$(OBJEXT): %.c $(BIN): $(OBJS) $(call ARCHIVE, $@, $(OBJS)) -.depend: Makefile $(SRCS) +.depend: Makefile $(SRCS) $(TOPDIR)$(DELIM).config $(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep $(Q) touch $@ diff --git a/fs/Makefile b/fs/Makefile index 5eb6e8bc41..786c94967f 100644 --- a/fs/Makefile +++ b/fs/Makefile @@ -98,7 +98,7 @@ $(BIN): $(OBJS) context:: -.depend: Makefile $(SRCS) +.depend: Makefile $(SRCS) $(TOPDIR)$(DELIM).config $(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep $(Q) touch $@ diff --git a/graphics/Makefile b/graphics/Makefile index 4f0bafb942..731f68b21c 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -124,7 +124,7 @@ $(BIN): $(OBJS) mklibgraphics: $(BIN) -.depend: gensources Makefile $(SRCS) +.depend: gensources Makefile $(SRCS) $(TOPDIR)$(DELIM).config $(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep $(Q) touch $@ diff --git a/libs/libc/Makefile b/libs/libc/Makefile index 230699537c..6d890c30c8 100644 --- a/libs/libc/Makefile +++ b/libs/libc/Makefile @@ -154,7 +154,7 @@ endif # Dependencies -.depend: Makefile $(SRCS) +.depend: Makefile $(SRCS) $(TOPDIR)$(DELIM).config $(Q) $(MKDEP) --obj-path bin --obj-suffix $(OBJEXT) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >bin/Make.dep ifneq ($(CONFIG_BUILD_FLAT),y) $(Q) $(MKDEP) --obj-path kbin --obj-suffix $(OBJEXT) $(DEPPATH) "$(CC)" -- $(CFLAGS) $(KDEFINE) -- $(SRCS) >kbin/Make.dep diff --git a/libs/libc/zoneinfo/Makefile b/libs/libc/zoneinfo/Makefile index 50193a86ee..919fdab81f 100644 --- a/libs/libc/zoneinfo/Makefile +++ b/libs/libc/zoneinfo/Makefile @@ -118,7 +118,7 @@ context: .tzbuilt romfs # Create dependencies -.depend: Makefile $(SRCS) +.depend: Makefile $(SRCS) $(TOPDIR)$(DELIM).config $(Q) $(MKDEP) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep $(Q) touch $@ diff --git a/libs/libdsp/Makefile b/libs/libdsp/Makefile index 263533853e..9e9999e6a7 100644 --- a/libs/libdsp/Makefile +++ b/libs/libdsp/Makefile @@ -65,7 +65,7 @@ $(COBJS): %$(OBJEXT): %.c $(BIN): $(OBJS) $(call ARCHIVE, $@, $(OBJS)) -.depend: Makefile $(SRCS) +.depend: Makefile $(SRCS) $(TOPDIR)$(DELIM).config $(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep $(Q) touch $@ diff --git a/libs/libnx/Makefile b/libs/libnx/Makefile index b581d1c490..8015f61a61 100644 --- a/libs/libnx/Makefile +++ b/libs/libnx/Makefile @@ -235,7 +235,7 @@ endif # Dependencies -.depend: Makefile gensources $(SRCS) +.depend: Makefile gensources $(SRCS) $(TOPDIR)$(DELIM).config $(Q) $(MKDEP) --obj-path bin --obj-suffix $(OBJEXT) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >bin/Make.dep ifneq ($(CONFIG_BUILD_FLAT),y) $(Q) $(MKDEP) --obj-path kbin --obj-suffix $(OBJEXT) $(DEPPATH) "$(CC)" -- $(CFLAGS) $(KDEFINE) -- $(SRCS) >kbin/Make.dep diff --git a/libs/libxx/Makefile b/libs/libxx/Makefile index 99ac158631..8ad47f109d 100644 --- a/libs/libxx/Makefile +++ b/libs/libxx/Makefile @@ -87,7 +87,7 @@ $(BIN): $(OBJS) dirlinks:: -.depend: Makefile $(SRCS) +.depend: Makefile $(SRCS) $(TOPDIR)$(DELIM).config $(Q) $(MKDEP) $(DEPPATH) "$(CXX)" -- $(CXXFLAGS) -- $(SRCS) >Make.dep $(Q) touch $@ diff --git a/mm/Makefile b/mm/Makefile index a585cd8a9c..729e7b6e9f 100644 --- a/mm/Makefile +++ b/mm/Makefile @@ -81,7 +81,7 @@ endif # Dependencies -.depend: Makefile $(SRCS) +.depend: Makefile $(SRCS) $(TOPDIR)$(DELIM).config $(Q) $(MKDEP) --obj-path bin --obj-suffix $(OBJEXT) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >bin/Make.dep ifneq ($(CONFIG_BUILD_FLAT),y) $(Q) $(MKDEP) --obj-path kbin --obj-suffix $(OBJEXT) $(DEPPATH) "$(CC)" -- $(CFLAGS) $(KDEFINE) -- $(SRCS) >kbin/Make.dep diff --git a/net/Makefile b/net/Makefile index f8ffe85aea..db40ad6398 100644 --- a/net/Makefile +++ b/net/Makefile @@ -92,7 +92,7 @@ $(COBJS): %$(OBJEXT): %.c $(BIN): $(OBJS) $(call ARCHIVE, $@, $(OBJS)) -.depend: Makefile $(SRCS) +.depend: Makefile $(SRCS) $(TOPDIR)$(DELIM).config ifeq ($(CONFIG_NET),y) $(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep endif diff --git a/openamp/Makefile b/openamp/Makefile index a4cf9b87b4..d216c74831 100644 --- a/openamp/Makefile +++ b/openamp/Makefile @@ -62,7 +62,7 @@ $(BIN): $(OBJS) dirlinks:: -.depend: Makefile $(SRCS) +.depend: Makefile $(SRCS) $(TOPDIR)$(DELIM).config $(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep $(Q) touch $@ diff --git a/pass1/Makefile b/pass1/Makefile index d21ccfd864..27704f6f2f 100644 --- a/pass1/Makefile +++ b/pass1/Makefile @@ -58,7 +58,7 @@ $(COBJS): %$(OBJEXT): %.c $(BIN): $(OBJS) $(call ARCHIVE, $@, $(OBJS)) -.depend: Makefile $(SRCS) +.depend: Makefile $(SRCS) $(TOPDIR)$(DELIM).config $(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep $(Q) touch $@ diff --git a/sched/Makefile b/sched/Makefile index 4d15730497..2ac0743056 100644 --- a/sched/Makefile +++ b/sched/Makefile @@ -59,7 +59,7 @@ $(COBJS): %$(OBJEXT): %.c $(BIN): $(OBJS) $(call ARCHIVE, $@, $(OBJS)) -.depend: Makefile $(SRCS) +.depend: Makefile $(SRCS) $(TOPDIR)$(DELIM).config $(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep $(Q) touch $@ diff --git a/syscall/Makefile b/syscall/Makefile index c8ed9fab3e..9ad30b62c4 100644 --- a/syscall/Makefile +++ b/syscall/Makefile @@ -93,7 +93,7 @@ $(BIN3): $(WRAP_OBJS) $(SYSCALLWRAPS): .context -.depend: Makefile $(SRCS) +.depend: Makefile $(SRCS) $(TOPDIR)$(DELIM).config $(Q) $(MKDEP) $(PROXYDEPPATH) $(STUBDEPPATH) $(WRAPDEPPATH) \ "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep $(Q) touch $@ diff --git a/video/Makefile b/video/Makefile index 52d95ea375..92492d3753 100644 --- a/video/Makefile +++ b/video/Makefile @@ -56,7 +56,7 @@ $(COBJS): %$(OBJEXT): %.c $(BIN): $(OBJS) $(call ARCHIVE, $@, $(OBJS)) -.depend: Makefile $(SRCS) +.depend: Makefile $(SRCS) $(TOPDIR)$(DELIM).config $(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep $(Q) touch $@ diff --git a/wireless/Makefile b/wireless/Makefile index 5a22077cb7..edd9082328 100644 --- a/wireless/Makefile +++ b/wireless/Makefile @@ -61,7 +61,7 @@ $(COBJS): %$(OBJEXT): %.c $(BIN): $(OBJS) $(call ARCHIVE, $@, $(OBJS)) -.depend: Makefile $(SRCS) +.depend: Makefile $(SRCS) $(TOPDIR)$(DELIM).config $(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep $(Q) touch $@