On Jul 24, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote:

>>>>>> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes:
Alexandre> On Jul 24, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote:
>>> Well, this is the kind of things I shall qualify as unusable
>>> without support from Automake :)

Alexandre> Well, people have been using OBJEXT AND EXEEXT without
Alexandre> automake... :-)

> This is doable within .foo.bar rule, I was referring to the fact that
> your suggestion needs an explicit rule for each object file.

Not really.  This should be enough:

.$(CXXEXT).o: ; $(CXX) $(CXXFLAGS) -c $< -o $@
.cc.cpp: ; $(LN_S) $@ $<
.cc.cxx: ; $(LN_S) $@ $<
.cc.C: ; $(LN_S) $@ $<

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

Reply via email to