Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c66f730af..61271e19f 100644 --- a/Makefile +++ b/Makefile @@ -170,8 +170,8 @@ compile-objs:= compile-i386.o ldflags += $($(@)-ldflags) $(LDFLAGS) ldlibs += $($(@)-ldlibs) $(LDLIBS) -$(foreach p,$(PROGRAMS),$(eval $(p): $($(p)-objs) $(LIBS))) -$(PROGRAMS): % : %.o +$(foreach p,$(PROGRAMS),$(eval $(p): $($(p)-objs))) +$(PROGRAMS): % : %.o $(LIBS) $(QUIET_LINK)$(LD) $(ldflags) -o $@ $^ $(ldlibs) $(LIB_FILE): $(LIB_OBJS) -- 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