Richard,
Why are all the header files from Projects/subA/ being enumerated in the
compile line? I think that's the problem.
H
P -MF .deps/gtx-main.Tpo -c -o gtx-main.o `test -f 'main.cpp' || echo
'../../GXT/src/'`main.cpp
g++: cannot specify -o with -c or -S with multiple files
make[3]: *** [gtx-main.o] Error 1
This isn't the exact Makefile (which I don't have access to now), but it
contain
rrlangly writes:
> Does anyone have an idea as to why I'd get the following error when
> compiling my program using autotools. This used to compile and run, then
> I added new code and linked against a new library, and now I get this.
> g++ -DHAVE_CONFIG_H -I. -I../../GXT/src -I.. -I../../GXT/i
al/lib64 -L/usr/local/lib
myprog_LDADD = $(OGRE_LIBS) $(OIS_LIBS) -lopenal
SUBDIRS= libs
Any helpl much appreciated.
--
View this message in context:
http://old.nabble.com/cannot-specify--o-with--c-or--S-tp27714351p27714351.html
Sent from the Gnu - Automake - General mailing list archive at Nabble.com.