diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-03-20 03:37:00 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-03-20 03:37:00 +0000 |
commit | 46139b3cfb9681cb12d8ac9e7021f9c3ca312980 (patch) | |
tree | 2ac8144f33b1fa037b4e3e402f3c372ea5090ff5 | |
parent | ba182327421155e2377470d18038856b41b0ae1d (diff) |
(depfiles, common-mostlyclean): Add $(test-srcs).
-rw-r--r-- | Makerules | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -399,7 +399,7 @@ endif +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))) @@ -835,9 +835,10 @@ mostlyclean: common-mostlyclean # 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) |