Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site rochester.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!rochester!ken From: ken@rochester.UUCP (and Vicki Herrieschopper) Newsgroups: net.unix Subject: Re: a Make question Message-ID: <12743@rochester.UUCP> Date: Tue, 29-Oct-85 20:46:01 EST Article-I.D.: rocheste.12743 Posted: Tue Oct 29 20:46:01 1985 Date-Received: Fri, 1-Nov-85 01:44:26 EST References: <1596@uwmacc.UUCP> Reply-To: ken@rochester.UUCP (and Vicki Herrieschopper) Distribution: net Organization: Home for the terminally enabled Lines: 13 In article <1596@uwmacc.UUCP> jwp@uwmacc.UUCP (Jeffrey W Percival) writes: > DIRS = d1 d2 d3 d4 d5 > depend: ; (for dir in $(DIRS); do (cd $dir; make depend); done) > >The problem with this is that 'make' is interpreting the $d as a null >string, so the 'cd' command sees an argument of "ir". depend: ; (for dir in $(DIRS); do (cd $$dir; make depend); done) Ken -- UUCP: ..!{allegra,decvax,seismo}!rochester!ken ARPA: ken@rochester.arpa USnail: Dept. of Comp. Sci., U. of Rochester, NY 14627. Voice: Ken!