| PLEX86 | ||
|
Need help with cleaning up a working GNU Autotools setupNeed help with cleaning up a working GNU Autotools setup 5058 Peter T. Breuer skrev: You said: My guess is that you don't want to write down the three lines I gave yourself, but instead want automake to make makefiles with... First of all, this is a crosspost, but since I get no feedback from the other group I'm hoping for you guys. Thanks! Hi, Need help with cleaning up a working GNU Autotools setup 5057 Please QUOTE. I can't recall what you are talking about. What did I suggest? Surely only use of VPATH. Eh? Why not? I didn't specify the target, and if I did, you can surely see... I've just moved from Eclipse CDT's 'Managed makefiles' to GNU's Autotools. It's a small project with 1 base directory and 3 subdirectories: rsd-----+----collections +----debug +----global All 3 subdirectories stores .c files and accompanying .h files. At this point they compile properly, i.e. 'collections' and 'debug' directories compile to 1 executable each and 'global' outputs a static library. Note: The project will grow considerably, it would just be nice to have my environment up to par before that happens. Question: ------------ At this point all object files, binaries and libraries end up in the same directory as the source code from which they are created. This means a mess and I would want something like this: +----bin (for executables) rsd-----+----collections-+----obj (for intermediate object files) +----lib (for libraries) +----debug (as for collections) +----global (as for collections) How do I achieve this in a smooth way? I've tried the manuals and the net without being any wiser, so please, any hint is appreciated. I program in C, by the way. Thanks in advanceSune
|
||||
Need help with cleaning up a working GNU Autotools setup 5057 Linux groups from Newsgroups The #1 Usenet Provider on the Internet
|
||||