[Top][All Lists]

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

Re: target name prefix *.o

From: Russ Allbery
Subject: Re: target name prefix *.o
Date: Sat, 01 Feb 2020 12:58:02 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

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 =

> 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 ( is Automake).
This renaming is documented in the Automake manual:

Russ Allbery (address@hidden)             <>

reply via email to

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