[openib-general] Re: [PATCH] rdma_lat-09 and results

Bernhard Fischer rep.nop at aon.at
Mon Jun 27 00:43:18 PDT 2005


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



More information about the general mailing list