Hello List,

I need to create a list with some valid values and check an input
value. Should this makefile work?
LIST=f8 f9

        @echo USE_LINUX=${USE_LINUX}, LIST=${LIST}
.if empty(LIST:M${USE_LINUX})
        @echo The value is invalid
        @echo The value is valid
% make USE_LINUX=f8
USE_LINUX=f8, LIST=f8 f9
The value is invalid

Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to