On Wed, Jun 22, 2005 at 09:28:56AM -0700, Grant Grundler wrote:

>I also don't know how to express
>       if target == static then
>               MORECFLAGS = -rdynamic...
>       endif

$ cat Makefile 
BAR:=-Os
ifeq ($(MAKECMDGOALS),static)
BAR += -rdynamic
endif
#default: all
static: all
all:
        @echo "making ${MAKECMDGOALS}: $(BAR)"


hth,
Bernhard
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to