This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Help needed: banishing RTL from the front ends


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


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