According to section 8.11 of the gnu manual, I should be able to use the shell command to assign a variable.  However, this doesn't work.  

I've tried assigning the variable from outside a rule but the command does not get executed and the variable is empty.  The only time the shell command is executed is from within a rule but variable assignments within rule is not allowed.

     contents := $(shell cat foo)

Any thoughts?

Thanks
Kent

Kent A. Crockett
[EMAIL PROTECTED]
(319) 295-3387 (onsite)
(319) 294-8144x16 (offsite)
_______________________________________________
Make-w32 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/make-w32

Reply via email to