From 8d292a08dfb79ec9a55673eb570f1c5128cc47ec Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 24 Dec 2007 03:49:56 +0000 Subject: * Makefile.in, configure.in, lib/mkmf.rb, */Makefile.sub: specify compiled output file name explicitly. * enc/Makefile.in, enc/depend: now makes compiler to put generated files under directories corresnponding to the each source. enc/trans supported. * enc/make_encmake.rb: evaluates depend file before Makefile.in so that the former can influence to CONFIG. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bcc32/Makefile.sub | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'bcc32/Makefile.sub') diff --git a/bcc32/Makefile.sub b/bcc32/Makefile.sub index cba378ac89..4968eff2b6 100644 --- a/bcc32/Makefile.sub +++ b/bcc32/Makefile.sub @@ -128,6 +128,7 @@ RDOCTARGET = install-doc !endif OUTFLAG = -o +COUTFLAG = -o !ifndef CFLAGS CFLAGS = -q -tWR -tWC $(DEBUGFLAGS) $(OPTFLAGS) $(PROCESSOR_FLAG) -w- -wsus -wcpt -wdup -wext -wrng -wrpt -wzdi !endif @@ -214,10 +215,10 @@ VPATH = $(arch_hdrdir)/ruby;$(hdrdir)/ruby;$(srcdir);$(srcdir)/enc;$(srcdir)/mis .path. = $(srcdir) .c.obj: - $(CC) $(CFLAGS) $(XCFLAGS) -I. $(CPPFLAGS) -c $(<:/=\) + $(CC) $(CFLAGS) $(XCFLAGS) -I. $(CPPFLAGS) $(COUTFLAG)$@ -c $(<:/=\) .c.asm: - $(CC) $(CFLAGS) $(XCFLAGS) -I. $(CPPFLAGS) -S $(<:\=/) + $(CC) $(CFLAGS) $(XCFLAGS) -I. $(CPPFLAGS) $(COUTFLAG)$@ -S $(<:\=/) .rc.res: $(RC) $(RFLAGS) -I. -I$(