From: Lyle Johnson Date: 2002-09-23T21:15:13+09:00 Subject: Re: Extconf problem. nobu.nokada@softhome.net wrote: > At Fri, 20 Sep 2002 23:02:50 +0900, > Christian Szegedy wrote: >> all: example.o >> ..cxx.o : >> g++ -c $@ $< > > Are there two dots at beginning of the line, and the command > uses g++ directly? > >> The problem is that it does NOT work with gmake, >> it says: >> >> No rule to make target `example.o', needed by `all'. Stop. >> >> Remark: if you substitute "cxx" by "C", then it works. > > C rule should be generated below the .cxx rule. > > Could you show me your extconf.rb? This is the same problem I reported in this post (a few weeks back): http://www.ruby-talk.org/blade/48866 I'd like to see this bug in mkmf.rb fixed as well. Hope this helps, Lyle