> %% Der Herr Hofrat <[EMAIL PROTECTED]> writes:
> 
>   dhh> I assume my concept of immediate vs. defered is wrong
> 
> No, you have that right (I assume).
> 
> Your concept of how make handles globbing is incorrect.  Make doesn't
> expand globbing sequences like *.c, it always passes them to the shell
> verbatim.
> 
> The _only_ thing make expands are variables and functions.
>
ok - got that straight now - one more:

---Makefile---
files_a := $(wildcard *.c)
files_b = $(wildcard *.c)

.PHONY: show
show:
        touch junk.c
        @echo $(files_a)
        @echo $(files_b)
        rm -f junk.c
        @echo $(files_a)
        @echo $(files_b)
------
 
So now I'm using functions and variables only but this still will not work
Scanned the Make manual again - but have not found an answer to the question 

Are functions expanded befor execution of any target commands ??
This now will not list junk.c at all ?

thanks
hofrat

_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to