On 3/19/2012 12:37 PM, Dimitry Andric wrote:
> It would be much nicer to be able to write:
> 
> .if defined(FOO)
>   .if defined(BAR)
>     CFLAGS+=  -DFOO_BAR
>   .endif
> .endif

Take a look at /usr/ports/Mk/bsd.port.mk for how this can be done.

-- 

    This .signature sanitized for your protection
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to