Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Thu, 2 Nov 2000 08:45:25 -0500 From: Jason Tishler To: CGuerra AT brocker DOT co DOT nz Cc: cygwin AT sources DOT redhat DOT com Subject: Re: make Message-ID: <20001102084525.A1037@dothill.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from CGuerra@brocker.co.nz on Thu, Nov 02, 2000 at 10:36:52AM +1300 Organization: Dot Hill Systems Corp. Carlos, On Thu, Nov 02, 2000 at 10:36:52AM +1300, CGuerra AT brocker DOT co DOT nz wrote: > I also would like to get an example of how to traverse subdirectories and > do a make in each of them. Use GNU make's -C option, as in the following: SubDir = dir2 dir2 dir3 all:: $(SubDir) clean:: $(SubDir) .PHONY: $(SubDir) $(SubDir): $(MAKE) -C $@ $(MAKECMDGOALS) Jason -- Jason Tishler Director, Software Engineering Phone: +1 (732) 264-8770 x235 Dot Hill Systems Corporation Fax: +1 (732) 264-8798 82 Bethany Road, Suite 7 Email: Jason DOT Tishler AT dothill DOT com Hazlet, NJ 07730 USA WWW: http://www.dothill.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com