another make (pmake) question

2002-09-20 Thread Roman Neuhauser
(if you know a better place i should be asking these questions, do point me at those.) Another make question... It would appear that variables have at least two scopes, but parallel, not nested. Example: DESTDIR= SOURCES=foo bar baz TARGETS:= ${SOURCES:C;^.+$;${DESTDIR}/&;} SRCFIL

make (pmake) question

2002-09-19 Thread Roman Neuhauser
I've been struggling a few make problems, where the actual behavior seems to differ from the documentation. It's more than likely that something just hasn't gotten through my thick skull, so I'm looking for explanations. For starters: variable assignment with expansion. make(1): := Ass