@matheusbsbs / matheus-bagliano / commits / fa8fe28c60
Fork 0

Makefile: do not allow gnu make to remove test-*.o files

It appears parallel build (-j) gets confused. Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Aug 30, 2007 at 19:14 UTC fa8fe28c60e18063ebccbc3b4810f72740daf3c6
1 file changed +2
Makefile
+2
@@ -969,6 +969,8 @@ test-date$X: date.o ctype.o
969
970 test-delta$X: diff-delta.o patch-delta.o
971
972 +.PRECIOUS: $(patsubst test-%$X,test-%.o,$(TEST_PROGRAMS))
973 +
974 test-%$X: test-%.o $(GITLIBS)
975 $(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) $(LIBS)
976