[comp.os.os2] Microsoft NMAKE usage

andy@mks.com (Andy Toy) (06/27/90)

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