I am new to $(eval) and can only present my wishful thinking:
When "all" is invoked, it will go through $(eval) , $(wildcard), etc and save
the information, but apparently, the information is also saved when makefile
was scanned (???)
Any suggestion to dump cache information on Linux? I vaguel
> Date: Sat, 8 Jan 2011 11:40:23 -0500
> From: "Hsu, ShihchiehIAS"
> Cc:
>
> Identical results are obtained as before. So the issue is probably not when
> GNU/Linux renews the cache $(eval), but when Windows/Make refresh/update the
> cache.
Maybe I don't understand something, but
My earlier example makefile did not emphasize the fact that information should
be obtained when target is invoked. Here is as better example:
SRC_DIR = ./
PROG_NAME = test
define PROGRAM_template
$(1)_SRC_DIR = $$(SRC_DIR)
$(1)_SRC_FILES = $$(wildcard $$($(1)_SRC_DIR)*.c)
end
Thanks for your extremely quick and informative responses.
1) I don't handy access to a Linux system but will work with my friends Monday
and see if we can come up with an answer on your $(wildcard) question
2) The Savannah bug#443 and #14617 were not reported by me but if they don't
work on Lin
> From: Paul Smith
> Date: Fri, 07 Jan 2011 21:58:53 -0500
> Cc: bug-make@gnu.org
>
> I realize that maybe this doesn't matter on Windows where the filesystem
> is not case-sensitive, but of course on Linux if you delete "hello.c"
> that won't have any impact on "Hello.c" which is why "Hello.c" s