Is there a way to set where autoconf generates the object files. I would like to have autoconf create all object files in a src/build/ instead of src/
I've tried setting VPATH but that doesn't seem to do anything. VPATH = build
Is there a way to set where autoconf generates the object files. I would like to have autoconf create all object files in a src/build/ instead of src/
I've tried setting VPATH but that doesn't seem to do anything. VPATH = build
You do this by running configure
from the directory where you want the object files. For instance, if configure
and all your code is in a directory named src
, then starting from that directory, these commands should do what you want:
$ mkdir build
$ cd build
$ ../configure
$ make
If you're not using Automake, you have to write your Makefile.in to handle this case; there are instructions for that in the autoconf manual.
IfxDatabase.lo', needed by
libifxapi.la'. Stop. Any suggestions? –
Proudhon configure
and other files in a separate directory, is that possible? –
Kissner configure
needs to be at the top level of the source tree or it won't work correctly and also people won't be able to find it. AC_CONFIG_AUX_DIR
can be used to move most of the other files. But you should really ask a new question and explain in more detail what you want. –
Burge © 2022 - 2024 — McMap. All rights reserved.