From ef2810d07e5c8590a541b9e1705790c5526616d6 Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Wed, 2 Sep 1992 07:27:31 +0000 Subject: [PATCH] * Makefile.in: Added mostlyclean/clean/distclean rules. --- bfd/ChangeLog | 4 ++++ bfd/Makefile.in | 21 +++++++++++++++------ 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index d6d728477eb..b6986b6ebdd 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +Wed Sep 2 00:26:32 1992 Per Bothner (bothner@rtl.cygnus.com) + + * Makefile.in: Added mostlyclean/clean/distclean rules. + Tue Sep 1 13:38:40 1992 Per Bothner (bothner@cygnus.com) * targets.c (target_vector): Take out oasys (unless that is diff --git a/bfd/Makefile.in b/bfd/Makefile.in index f16bbe25817..5ffe77d1bef 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -173,13 +173,22 @@ tags etags: TAGS TAGS: force etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c -clean: - rm -f *.[oa] *~ core *.E *.p *.ip aout-params.h gen-aout - $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) - -clobber realclean: clean +do_mostlyclean: + rm -f *.o *~ core *.E *.p *.ip aout-params.h gen-aout +do_clean: do_mostlyclean: rm -f libbfd.a TAGS - $(MAKE) subdir_do DO=clobber "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) +do_distclean: do_clean + rm -f Makefile config.status +do_realclean: do_distclean + +mostlyclean: do_mostlyclean + $(MAKE) subdir_do DO=mostlyclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) +clean: do_clean: + $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) +distclean: do_distclean + $(MAKE) subdir_do DO=distclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) +clobber realclean: do_readlclean + $(MAKE) subdir_do DO=realclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) # Mark everything as depending on config.status, since the timestamp on # sysdep.h might actually move backwards if we reconfig and relink it -- 2.30.2