Makefile: .if inside .for

Sergey Matveychuk sem at ciam.ru
Tue Feb 3 07:05:44 PST 2004


Oliver Eikemeier wrote:

> Try
> 
> .for TMACHINE in ${SHARED_ARCHS}
> .if ${MACHINE} == ${TMACHINE}
>     ...
> .endif
> .endfor
> 
> or use a shell loop.

OK. My problem was I use a constant to compare.
Thank you anyway!

-- 
Sem.


More information about the freebsd-ports mailing list