Dear Alexandre Oliva, you wrote on Yesterday:

> Not really.  This should be enough:
> 
> .$(CXXEXT).o: ; $(CXX) $(CXXFLAGS) -c $< -o $@
> .cc.cpp: ; $(LN_S) $@ $<
> .cc.cxx: ; $(LN_S) $@ $<
> .cc.C: ; $(LN_S) $@ $<
 
Are you certain ??
This didn't work for my .F/.f stuff, because the first rtule will be 
ignored by make if CXXEXT != .cc and if there is a built-in rule
.cc.o. Your first suggestion seems threfore more robust to me,
because it rewrites the .cc.o rule.
 
-- 
Martin Wilck <[EMAIL PROTECTED]>
Institute for Tropospheric Research, Permoserstr. 15, D-04318 Leipzig, Germany
Tel. +49-341-2352151 / Fax +49-341-2352361

Reply via email to