Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!cs.utexas.edu!uunet!mcvax!kth!draken!larss From: larss@nada.kth.se (Lars Schylberg) Newsgroups: comp.sys.apollo Subject: makefile problem under 10.1 Keywords: makefile test for Message-ID: <1239@draken.nada.kth.se> Date: 4 Jul 89 09:07:38 GMT Organization: Royal Institute Of Technology, Stockholm, Sweden Lines: 22 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.