Moving from manual Makefiles to Automake

2005-11-09 Thread Paulo Jorge Matos
Hi all, On a current C++ project I'm using Autoconf and Automake. To solve the big subdir tree inside src I used VPATHs in my Makefile.am, if there's another way please say so. The current problem is due to the fact that using automake with bison and flex is giving me headaches. I have

Re: Moving from manual Makefiles to Automake

2005-11-09 Thread Andreas Schwab
Paulo Jorge Matos [EMAIL PROTECTED] writes: if g++ -DHAVE_CONFIG_H -I. -I. -I..-I./include -ansi -std=c++98 -pedantic -Wall -DBUILDDATE=`date +'%Y-%b-%d %R'` -g -O2 -MT ^ You need to quote the output of the command substitution since it contains

Re: Moving from manual Makefiles to Automake

2005-11-09 Thread Paulo Jorge Matos
On 09/11/05, Ralf Wildenhues [EMAIL PROTECTED] wrote: Hi Paulo, Hi, * Paulo Jorge Matos wrote on Wed, Nov 09, 2005 at 10:02:53AM CET: On a current C++ project I'm using Autoconf and Automake. To solve the big subdir tree inside src I used VPATHs in my Makefile.am, if there's another

Re: Moving from manual Makefiles to Automake

2005-11-09 Thread Ralf Wildenhues
* Paulo Jorge Matos wrote on Wed, Nov 09, 2005 at 11:26:32AM CET: On 09/11/05, Ralf Wildenhues [EMAIL PROTECTED] wrote: I don't understand quite how you do this. If you want to use fewer Makefiles than directories, consider using Automake's subdir-objects option and look at recent