Hi Alexandre!

| On Jul 24, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote:
| > Sounds like a good idea, but anyway I think it's completely useless
| > without support from Automake.
| 
| Not completely useless.  It means additional work for the maintainer,
| but it's not that hard.
| 
| foo.o: foo.cc foo.$(CXX_EXT)
|         $(CXX) $(CXXFLAGS) -c foo.$(CXX_EXT)

Well, this is the kind of things I shall qualify as unusable without
support from Automake :)

| .cc.cpp:
|         echo '#include "$<"' > $@
| .cc.cxx:
|         echo '#include "$<"' > $@
| .cc.C:
|         echo '#include "$<"' > $@

This solves the issue for languages which compilers do support
#include, will all do?  I'd prefer something which would solve the
problem once for all.

LN_S or cp?



| GCC, for one, will refuse to read from stdin unless it's just
| preprocessing.

Why is it so?  Is it reading back and forth?

Reply via email to