On Mon, 29 Jun 2009, Philip A. Prindeville wrote: > Stephen Henson via RT wrote: > > > > It's not the @ command which might be non-portable IMHO but the > > expansion of $(Q) into @. > > I guess I still don't understand the issue. On the platforms that don't > support this, it could be left undefined or set to the empty string... > > -Philip
It is easy to understand if you try it on a make other than GNU make. Using your original post as an example: ------------- $ cat Makefile QUIET=y ifeq ($(QUIET),y) Q:=@ else Q:= endif all: $(Q)echo "done" $ make UX:make: ERROR: Must be a separator on rules line 4 (bu39). $ gmake done $ ------------- -- Tim Rice Multitalents t...@multitalents.net ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org