From: nobu.nokada@... Date: 2004-05-28T07:02:12+09:00 Subject: Re: File.basename() and mkmf.rb Hi, At Fri, 28 May 2004 04:09:49 +0900, Charles Mills wrote in [ruby-core:02954]: > >> My problem is that I have files with multiple extensions (ie. > >> 'file.y.c'). I have added rules for these files in ./depends and > >> changed 'SRC_EXT', but the line: > >> 804 $objs.push(File.basename(f, ".*") << "." << $OBJEXT) > >> doesn't do what I want so I just generate $objs myself. > > > > make can deal with it? > > > Yes make can deal with it. For example this works fine (on gnu make): But others may not. Dosish ones (Microsoft NMAKE and Borland MAKE, at least) would be impossible. -- Nobu Nakada