From: Miroslav Lichvar Date: Wed, 19 Sep 2018 14:33:55 +0000 (+0200) Subject: test: fix Makefile to not create .deps in project root X-Git-Tag: 3.4^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91f3f97ea720632636208fdf5c4bf1c04812ed1e;p=thirdparty%2Fchrony.git test: fix Makefile to not create .deps in project root --- diff --git a/test/unit/Makefile.in b/test/unit/Makefile.in index 72c595eb..e789a1bd 100644 --- a/test/unit/Makefile.in +++ b/test/unit/Makefile.in @@ -12,7 +12,7 @@ TEST_OBJS := $(sort $(patsubst %.c,%.o,$(wildcard *.c))) TESTS := $(patsubst %.o,%.test,$(filter-out $(SHARED_OBJS),$(TEST_OBJS))) CHRONYD_OBJS := $(patsubst %.o,$(CHRONY_SRCDIR)/%.o,$(filter-out main.o,\ - $(filter %.o,$(shell $(MAKE) -s -C $(CHRONY_SRCDIR) print-chronyd-objects)))) + $(filter %.o,$(shell $(MAKE) -f $(CHRONY_SRCDIR)/Makefile print-chronyd-objects)))) all: $(TESTS)