[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Deferred expansion and computed rules and rant about make bug
From: |
Mike Shal |
Subject: |
Re: Deferred expansion and computed rules and rant about make bug |
Date: |
Fri, 5 Aug 2005 16:20:30 -0400 |
> However the problem with eval is still a problem for me. Since I am doing a
> non-recursive make I want to do the following:
>
> $(foreach DIR,$(DIRS),$(eval include $(SUBDIR_MAKEFILE)))
>
> Which of course gives me the virtual memory exhausted bug.
>
Without knowing what DIRS and SUBDIR_MAKEFILE are, I'm not exactly
sure what you're trying to do. I use a non-recursive make but I don't
use $(eval). Is there a reason you can't just include the files
without the eval?
DIRS = foo bar
MAKEFILES = $(addsuffix /Makefile,$(DIRS))
include $(MAKEFILES)
-Mike