On 05/27/2010 06:58 AM, Steven Bosscher wrote:
Well, it looks like I do need something like @F because I now only get
the define on files in gcc/. Any file with a / in the full name $@
does not get a file specific CFLAGS.
Interesting, this simpler testcase worked:
test-a/b = $(warning ok)
all: a/b
: $(test-$<) above line from '$$(test-$$<)' should say ok
a/b:
: $(test-$@) above line from '$$(test-$$@)' should say ok
Can you add $(warning $@ -> $(CFLAGS-$@)) to the .c.o rule to see if
that gives a clue?
Paolo