diff options
author | Roland McGrath <roland@gnu.org> | 1994-01-27 02:19:17 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1994-01-27 02:19:17 +0000 |
commit | cb615002f43abb854287db63eaa0bd28654de79c (patch) | |
tree | 40ce7b4defc88cb78ea9ce802007b6729f730538 /Makerules | |
parent | 6b66c87ff8984fb1f10204da234cef6807580169 (diff) |
Formerly Makerules.~111~
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -457,6 +457,24 @@ echo-headers: @echo $(headers) +# Common cleaning targets. + +.PHONY: common-mostlyclean common-clean mostlyclean clean +clean: common-clean +mostlyclean: common-mostlyclean + +# Remove the object files. +common-mostlyclean: + -rm -f $(addprefix $(objpfx),$(tests) $(others) \ + $(addsuffix .o,$(tests) $(others))) + -rm -f $(objects) $(addprefix $(objpfx),$(extra-objs)) + -rm -f core TAGS + +# Also remove the dependencies and generated source files. +common-clean: common-mostlyclean + -rm -f $(objpfx)depend-$(subdir) $(+depfiles) + -rm -f $(generated) + # Produce a file `stub-$(subdir)' which contains `#define __stub_FUNCTION' # for each function which is a stub. We grovel over all the .dep files # looking for references to source files in sysdeps/stub. Then we grovel |