"make" file question

A.V. Raman ARaman at massey.ac.nz
Mon Aug 13 15:36:56 AEST 1990


In article <8427 at ccncsu.ColoState.EDU> flatau at handel.UUCP (flatau) writes:

>
>Well, the question is: How to append prefix (/ub/path/) to
>a list of files using "make".
>
>flatau at 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)



More information about the Comp.unix.questions mailing list