This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Stupid problem: how to specify the directory for .h files?


>>> "JG" == Jean-Guillaume Paradis (LMC) <Jean-Guillaume dot Paradis at ericsson dot ca> writes:

[...]

 JG> dsiSecManager_SOURCES = file1.cpp $(PROJECT_ROOT_DIR)/include/file1.h

BTW, Automake doesn't support variables as *part of* filenames.
This break the dependency tracking code.

So, I you ever want to do this, it should read

dsiSecManager_SOURCES = file1.cpp ../../include/file1.h

(Or whatever PROJECT_ROOT_DIR is.)
-- 
Alexandre Duret-Lutz




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]