From fa8fe28c60e18063ebccbc3b4810f72740daf3c6 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Thu, 30 Aug 2007 19:14:31 -0700 Subject: [PATCH] Makefile: do not allow gnu make to remove test-*.o files It appears parallel build (-j) gets confused. Signed-off-by: Junio C Hamano --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 4eb463797a..51af531c9a 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) -- 2.32.0.93.g670b81a890