This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Stupid problem: how to specify the directory for .h files?
- From: Alexandre Duret-Lutz <duret_g at lrde dot epita dot fr>
- To: "Jean-Guillaume Paradis (LMC)" <Jean-Guillaume dot Paradis at ericsson dot ca>
- Cc: automake mailing list <automake at gnu dot org>
- Date: Thu, 20 Feb 2003 20:40:57 +0100
- Subject: Re: Stupid problem: how to specify the directory for .h files?
- References: <3E4D2680.4A2111E0@lmc.ericsson.se>
>>> "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