\f
+depfiles := $(strip $(sources:.c=.d) \
$(patsubst %.o,%.d,$(filter %.o,$(extra-objs:.so=.o))) \
- $(addsuffix .d,$(others) $(tests)))
+ $(addsuffix .d,$(others) $(tests) $(test-srcs)))
+depfiles := $(addprefix $(objpfx),\
$(filter-out $(addsuffix .d,$(omit-deps)),\
$(+depfiles)))
# Remove the object files.
common-mostlyclean:
- -rm -f $(addprefix $(objpfx),$(tests) $(others) \
- $(addsuffix .o,$(tests) $(others)) \
- $(addsuffix .out,$(tests)))
+ -rm -f $(addprefix $(objpfx),$(tests) $(test-srcs) $(others) \
+ $(addsuffix .o,$(tests) $(test-srcs) \
+ $(others)) \
+ $(addsuffix .out,$(tests) $(test-srcs)))
-rm -f $(addprefix $(objpfx),$(extra-objs) $(install-lib))
-rm -f core $(common-objpfx)stub-$(subdir)
$(rmobjs)