Re: Makefile and '$(addprefix)' SOLVED

2006-05-22 Thread Andrew
On Mon, 2006-05-22 at 18:45 -0400, Parv wrote: > in message <[EMAIL PROTECTED]>, > wrote Andrew thusly... > > > > I'm trying to use $(addprefix) build lists of source files and > > object files containing the relative paths for each. The problem > > is that $(addprefix) never seems to be evaluated

Re: Makefile and '$(addprefix)'

2006-05-22 Thread Andrew
Hello, You are correct; I am using GNU make, err, rather, trying to, at least. Found a typo that fixed part of the problem: $(addprefix, PREFIX, ITEM) should be $(addprefix PREFIX, ITEM). Note that there is no comma after 'addprefix'. This particular Makefile seems to be horribly broken. So I th

Re: Makefile and '$(addprefix)'

2006-05-22 Thread Parv
in message <[EMAIL PROTECTED]>, wrote Andrew thusly... > > I'm trying to use $(addprefix) build lists of source files and > object files containing the relative paths for each. The problem > is that $(addprefix) never seems to be evaluated. When I run 'make > -p', $OBJECT_LIST looks exactly like in

Makefile and '$(addprefix)'

2006-05-22 Thread Andrew
Hello all, I'm trying to clean up the source tree for some software I'm writing. The program itself is relatively simple, but is very fragmented; i.e. it has a lot of source files. I'd like to write one top-level Makefile that is able to find all of my source files, build the object files, and put