[comp.sys.apollo] makefile problem under 10.1

larss@nada.kth.se (Lars Schylberg) (07/04/89)

We have found a problem with our old makefile that worked
under 9.7 but is not working now after we have changed
to 10.1.


The following is our test makefile:
>--------------------------------------------------------------

MAKEALL = set * ; for d do echo $$d && test -f $$d; done; exit 0

all:
	$(MAKEALL)
------------------------------------------------------------------<
                                                                   
We have found that this file can be run under the 9.7 version
of make, but fails under the 10.1 version.  The problem is
that test command can not be combined together with the for
command.

Could anyone give us a hint who to come around this problem.

Lars Schylberg and Huang Zhexue.