help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


From: William . Peets
Subject: (no subject)
Date: Fri, 14 Nov 2003 18:12:41 -0500

I have the following make target


POSSIBLE_DIRS = $(shell ls -1d *)

foo: $(POSSIBLE_DIRS)
        $(PRINT) "Done"

$(POSSIBLE_DIRS)
        $(PRINT) "Testing $@"
        if[ -d $@ ]; then cd $@; make; fi


When I try this it stops after the first token in POSSIBLE_DIRS.  I thought
it would
iterate for each token.  What did I do wrong.  I am not sure if this is a
make issue
of shell issue.

William Peets
General Dynamics Defense Systems




reply via email to

[Prev in Thread] Current Thread [Next in Thread]