From: Junio C Hamano Date: Fri, 31 Aug 2007 02:14:31 +0000 (-0700) Subject: Makefile: do not allow gnu make to remove test-*.o files X-Git-Tag: v1.5.3~25 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fa8fe28c60e18063ebccbc3b4810f72740daf3c6;p=git.git Makefile: do not allow gnu make to remove test-*.o files It appears parallel build (-j) gets confused. Signed-off-by: Junio C Hamano --- diff --git a/Makefile b/Makefile index 4eb463797..51af531c9 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)