autoconf
[Top][All Lists]
Advanced

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

Re: Makefile.am target name prefix *.o


From: Vincent Blondel
Subject: Re: Makefile.am target name prefix *.o
Date: Sun, 2 Feb 2020 09:32:20 +0100

Thank You for the detailed answer :-)
-V.

On Sat, Feb 1, 2020 at 9:58 PM Russ Allbery <address@hidden> wrote:

> Vincent Blondel <address@hidden> writes:
>
> > Encounter a strange behaviour with autoconf.
> > I do not understand why all the compiled *.o files are prefixed with
> > target-xxx.o.
>
> > Below an example ... have no progname yet for my executable hence let's
> > call it main for now ...
>
> > bin_PROGRAMS = main
> > main_SOURCES =  obj1.cc obj2.cc
>
> > Executable is OK but have no clue why I have something like this at the
> end
> > ? ...
>
> > src/main-obj1.o
> > src/main-obj2.o
>
> This is actually Automake rather than Autoconf (Makefile.am is Automake).
> This renaming is documented in the Automake manual:
>
> https://www.gnu.org/software/automake/manual/html_node/Renamed-Objects.html
>
> --
> Russ Allbery (address@hidden)             <https://www.eyrie.org/~eagle/>
>


reply via email to

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