automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: need help in "deep" project ..


From: Roberto Alejandro Espí Muñoz
Subject: Re: need help in "deep" project ..
Date: Tue, 21 Aug 2007 08:49:00 -0400

Yes, It's been dealt with.  Thanks for your concern and the speedy response
from the mailing list



I have this older message still lying around, not sure whether it's been
> dealt with or not:
>
> * Roberto Alejandro Espí Muñoz wrote on Thu, Jul 05, 2007 at 09:51:44PM
> CEST:
> >
> [...]
> > src/Makefile.am:
> > elementos =    \
> >    main.cpp \
> >    Base/AlarmManager.cpp  \
> >    Base/AlarmsSummary.cpp \
> >    Base/Container.cpp  \
> [...]
> > bin_PROGRAMS = hmi
> > hmi_SOURCES =         \
> >    $(elementos)
> [...]
> > When I issue "make" the project starts to compile but the .o files are
> > being
> > thrown on "src/".  In the other subdirs from src/ there are files with
> > identical names to the .o files being generated.  I fear they will be
> > overwritten.
>
> No.  One of these things may happen: either automake will complain
> about different source files that will compile to the same object
> file names, or it will rename object file names (I don't think this
> currently happens in this situation, unless you also happen to use
> per-target flags, but you should not count on that).  You can use
> the Automake option subdir-objects to allow object files in subdirs.
>
> Hope that helps.
>
> Cheers,
> Ralf
>



-- 
teratux


reply via email to

[Prev in Thread] Current Thread [Next in Thread]