I have a bunch of C.
I want to move to C++.
I'm using automake.
I don't want to rename any files.
Fortunately I already build libraries and then main separately. That might 
help, or not matter.
So I want to say:

libfoo_la_CFLAGS += -xc++

and possibly
main_CFLAGS += -xc

Or something higher level and have autoconf
figure it out -- i.e. /TP and /TC for Visual C++.


Makefile.am:337: error: linker flags such as '-xc++' belong in 
'libfoo_la_LDFLAGS'


?


 - Jay

Reply via email to