Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index da99a60ad..b694db61a 100644 --- a/Makefile +++ b/Makefile @@ -180,11 +180,10 @@ $(LIB_FILE): $(LIB_OBJS) $(SLIB_FILE): $(LIB_OBJS) $(QUIET_LINK)$(CC) $(LDFLAGS) -Wl,-soname,$@ -shared -o $@ $(LIB_OBJS) -DEP_FILES := $(wildcard .*.o.d) +OBJS := $(LIB_OBJS) $(PROGRAMS:%=%.o) $(foreach p,$(PROGRAMS),$($(p)_OBJS)) +DEPS := $(OBJS:%.o=.%.o.d) -ifneq ($(DEP_FILES),) -include $(DEP_FILES) -endif +-include $(DEPS) pre-process.sc: CHECKER_FLAGS += -Wno-vla -- 2.14.0 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html