[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: .SECONDEXPANSION Fails
From: |
David Greene |
Subject: |
Re: .SECONDEXPANSION Fails |
Date: |
Wed, 10 May 2006 14:53:23 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.8) Gecko/20050512 |
David Greene wrote:
> .SECONDEXPANSION:
> %.o: $$(subst $(BUILDDIR),$(SRCDIR),$$*.c)
> $(CC) -c $< -o $@
Of course, I made this work with the much simpler:
$(BUILDDIR)/%.o: $(SRCDIR)/%.c
$(CC) -c $< -o $@
:)
Still, is my use of .SECONDEXPANSION supposed to work?
-Dave