Re: Make problem
- From: Dan Espen <daneNO@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 28 Nov 2006 17:38:41 -0500
"Tim" <Tim.Huetz@xxxxxxxxx> writes:
Hey guys,
I have a small problem with my makefile. This makefile contains the
following code and resists inside the root-directory of my project:
--- snip ---
blub-dirs += dir1/$(name_sub_dir) dir2
PHONY += $(blub-dirs)
$(blub-dirs):
$(Q)$(MAKE) -f $(CURDIR)/scripts/Makefile.build srcdir=$@ -C $@
.PHONY: $(PHONY)
--- snap ---
My problem is, that just the first directory in my "list" will be
handled. This means, that just one make call will be done for
"dir1/$(name_sub_dir)" but no one for "dir2". Has anybody an idea what
I'm doing wrong? Thanks.
If you say "make dir2" does it make the dir2 target?
By default, only the first target is made.
You may need a rule:
all: $(blub-dirs)
before the $(blub-dirs) rule.
I haven't tried what you coded.
.
- References:
- Make problem
- From: Tim
- Make problem
- Prev by Date: Make problem
- Next by Date: Re: Celron D & Intel 101 motherboard for Linux
- Previous by thread: Make problem
- Next by thread: Happy 21'st "Interface Manager"
- Index(es):
Relevant Pages
|