[comp.sys.apollo] makefile problems under 10.1

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

Sorry for posting this again but it seems like my signature was lost.

---

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.

Lars Schylberg                        Email: larss@fmi.kth.se    (Internet)
Department of Photogrammetry                 larss@sekth.bitnet  (Bitnet)
Royal Institute of Technolgy          Tel.   +46 8 790 86 33     (office)
S-100 44  STOCKHOLM, SWEDEN           Fax.   +46 8 10 91 99