[Top][All Lists]

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

full source file path

From: Jan Paral
Subject: full source file path
Date: Mon, 28 Dec 2009 13:24:32 -0700
User-agent: KMail/1.13.0 (Linux/2.6.31-17-generic; KDE/4.3.85; x86_64; ; )


my library is split into several directories ... so I define _SOURCES variable 
libsatbase_a_SOURCES = cfgfile/grammar.c common/hash.cxx ....

and I have several libraries in the project. The problem is when I compile 
the project by calling 'make' gcc report warnings/errors only as 
subdirectory/file_name. Is there a way to force automake to pass into gcc the 
full source path?

Trying somethin like:

This do the trick while compiling but then I get following error from 'make 

cp: cannot stat `.//project/base/cfgfile/grammar.c': No such file or directory

The reason why I would like to include full source path is that emacs 
obviously can not find the file when compiling the library from different 

reply via email to

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