Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!munnari.oz.au!comp.vuw.ac.nz!massey.ac.nz!ARaman From: ARaman@massey.ac.nz (A.V. Raman) Newsgroups: comp.unix.questions Subject: Re: "make" file question Message-ID: <907@massey.ac.nz> Date: 13 Aug 90 05:36:56 GMT References: <8427@ccncsu.ColoState.EDU> Reply-To: ARaman@massey.ac.nz (A.V. Raman) Organization: Massey University, Palmerston North, New Zealand Lines: 19 In article <8427@ccncsu.ColoState.EDU> flatau@handel.UUCP (flatau) writes: > >Well, the question is: How to append prefix (/ub/path/) to >a list of files using "make". > >flatau@handel.cs.colostate.edu One way I could think of is: PAT=/ub/path/ FILES=a.f b.f all: -for i in $(FILES); { \ echo $(PAT)/$$i; \ } - & (Anand)