> Quoting Junio C Hamano <gitster@xxxxxxxxx>: > Subject: Re: [PATCH] fix parallel make problem > > How about this as a replacement? I notice that after a > successful build all the test-*.o files are removed by make, and > somehow make seems to believe it is Ok not to recreate them. Yea. this works for me. > --- > Makefile | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/Makefile b/Makefile > index 4eb4637..51af531 100644 > --- a/Makefile > +++ b/Makefile > @@ -969,6 +969,8 @@ test-date$X: date.o ctype.o > > test-delta$X: diff-delta.o patch-delta.o > > +.PRECIOUS: $(patsubst test-%$X,test-%.o,$(TEST_PROGRAMS)) > + > test-%$X: test-%.o $(GITLIBS) > $(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) $(LIBS) Add a comment here? > Warning: 1 path touched but unmodified. Consider running git-status. BTW, shouldn't the warning go to standard error? -- MST - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html