]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
test: fix Makefile to not create .deps in project root 3.4
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 19 Sep 2018 14:33:55 +0000 (16:33 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Wed, 19 Sep 2018 14:38:15 +0000 (16:38 +0200)
test/unit/Makefile.in

index 72c595eb01ad3c6af8eeb9a901ecaa3d2247041c..e789a1bd197427529ef8c8c81d136a890c563b32 100644 (file)
@@ -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)