From b0dc76ad9f87407deb8ba21eeac2f6e08ecab32e Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 23 Mar 2004 05:32:01 +0000 Subject: * Makefile.in, */Makefile.sub, common.mk (clean-local, distclean-local): separate files under directories due to directory separator. * */Makefile.sub (MKFILES): common.mk and */Makefile.sub should not be removed. * win32/Makefile.sub, wince/Makefile.sub: $* cannot appear in explicit rules. * cygwin/GNUmakefile.in: some mingw stuffs were missed. * lib/mkmf.rb (create_makefile): Borland make wrongly removes braces from command lines. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- common.mk | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'common.mk') diff --git a/common.mk b/common.mk index 35abb5347..44221a821 100644 --- a/common.mk +++ b/common.mk @@ -99,19 +99,18 @@ install-doc: $(PROGRAM) clean: clean-ext clean-local clean-local:: - @$(RM) $(OBJS) $(MAINOBJ) $(WINMAINOBJ) $(LIBRUBY_A) $(LIBRUBY_SO) $(LIBRUBY_ALIASES) - @$(RM) ext/extinit.c ext/extinit.$(OBJEXT) dmyext.$(OBJEXT) - @$(RM) $(PROGRAM) $(WPROGRAM) miniruby$(EXEEXT) + @$(RM) $(OBJS) $(MAINOBJ) $(WINMAINOBJ) $(LIBRUBY_A) $(LIBRUBY_SO) $(LIBRUBY) $(LIBRUBY_ALIASES) + @$(RM) $(PROGRAM) $(WPROGRAM) miniruby$(EXEEXT) dmyext.$(OBJEXT) clean-ext: @-$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS) clean distclean: distclean-ext distclean-local distclean-local:: clean-local - @$(RM) $(MKFILES) config.h rbconfig.rb $(RBCONFIG) - @$(RM) ext/config.cache config.cache config.log config.status + @$(RM) $(MKFILES) config.h rbconfig.rb + @$(RM) config.cache config.log config.status @$(RM) *~ *.bak *.stackdump core *.core gmon.out y.tab.c y.output ruby.imp distclean-ext: - @-$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS) distclean 2> $(NULL) + @-$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS) distclean realclean:: distclean @$(RM) parse.c lex.c -- cgit