Path: utzoo!attcan!uunet!dino!ux1.cso.uiuc.edu!iuvax!maytag!mks.com!andy From: andy@mks.com (Andy Toy) Newsgroups: comp.os.os2 Subject: Re: Microsoft NMAKE usage Message-ID: <1990Jun27.135144.10987@mks.com> Date: 27 Jun 90 13:51:44 GMT References: <1990Jun18.125544.22755@csc.ti.com> <1391@targon.UUCP> Reply-To: andy@mks.com (Andy Toy) Organization: Mortice Kern Systems, Waterloo, Ontario, Canada Lines: 16 In article <1391@targon.UUCP> andre@targon.UUCP (andre) writes: >all: $(SUBDIRS) > >$(SUBDIRS): do_always > $(CD) $@ ; $(MAKE) all This may or may not work depending on whether Make executes the recipes or invokes a shell to do it and which shell is being used. The problem arises when a shell is invoked for the recipe because command.com does not allow multiple commands on the same line separated by `;' so something like ``cd dir;make'' won't work. -- Andy Toy, Mortice Kern Systems Inc., Internet: andy@mks.com 35 King Street North, Waterloo, UUCP: uunet!watmath!mks!andy Ontario, CANADA N2J 2W9 Phone: 519-884-2251 FAX: 519-884-8861