test: fix Makefile to not create .deps in project root
This commit is contained in:
parent
65bb65b440
commit
91f3f97ea7
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ TEST_OBJS := $(sort $(patsubst %.c,%.o,$(wildcard *.c)))
|
||||||
TESTS := $(patsubst %.o,%.test,$(filter-out $(SHARED_OBJS),$(TEST_OBJS)))
|
TESTS := $(patsubst %.o,%.test,$(filter-out $(SHARED_OBJS),$(TEST_OBJS)))
|
||||||
|
|
||||||
CHRONYD_OBJS := $(patsubst %.o,$(CHRONY_SRCDIR)/%.o,$(filter-out main.o,\
|
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)
|
all: $(TESTS)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue