[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Generate objects in right directory
From: |
Ralf Wildenhues |
Subject: |
Re: Generate objects in right directory |
Date: |
Wed, 3 Sep 2008 18:02:20 +0200 |
User-agent: |
Mutt/1.5.17+20080114 (2008-01-14) |
Hello Sebastien,
* Sebastien REYNES wrote on Wed, Sep 03, 2008 at 05:41:29PM CEST:
>
> How to generate objects files in a dedicated directory ? When I launch
> the following Makefile.am in my current directory
> /home/devbdie/src/module1, the files *.o are generated in the same
> directory.
>
> lib_LIBRARIES = libcomc.a
> nodist_libcomc_a_SOURCES = prog1.c prog2.c prog3.c
>
> Where can I specify a different target object directory ?
> (/home/devbdie/obj/module1 for instance)
> Have I to set a parameter within the file configure.ac ? How can I do ?
Just
cd /home/devbdie/obj/module1
../../src/module1/configure
make
Please see
<http://www.gnu.org/software/automake/manual/html_node/VPATH-Builds.html>
and more generally the introductory chapter
<http://www.gnu.org/software/automake/manual/html_node/Use-Cases.html>
Hope that helps.
Cheers,
Ralf
- Generate objects in right directory, Sebastien REYNES, 2008/09/03
- Re: Generate objects in right directory, Sebastien REYNES, 2008/09/05
- Re: Generate objects in right directory, Sebastien REYNES, 2008/09/05
- Re: Generate objects in right directory, Jeroen N. Witmond [Bahco], 2008/09/05
- Re: Generate objects in right directory, Sebastien REYNES, 2008/09/08
- Re: Generate objects in right directory, Jeroen N. Witmond [Bahco], 2008/09/08