Hi All, I currently have the following:
IS_BSD = $(shell $(UNAME) 2>&1 | $(EGREP) -i -c '(openbsd|freebsd|netbsd)') IS_DARWIN = $(shell $(UNAME) 2>&1 | $(EGREP) -i -c 'darwin') ... # iconvert library. For GNU Linux, its included in glib ifeq ($(IS_BSD),1) LDLIBS += -liconv endif ifeq ($(IS_DARWIN),1) LDLIBS += -liconv endif Is there a way to combine the tests using an OR? I don't recall seing it in Stallman's GNU Make book (and the book is not handy at the moment). Jeff _______________________________________________ Help-make mailing list Help-make@gnu.org https://lists.gnu.org/mailman/listinfo/help-make