I have the following snippet in my makefile

 

export LEC_RUN = $@

export LEC_SAVE ?= 1

export LEC_MODE ?= flat

export LEC_GEN_DOFILE ?= 0

export LEC_PARTITION_NAME ?= 

 

 

#.SECONDEXPANSION:

all: ; @echo Target is $(LEC_RUN)

ifeq "$(LEC_RUN)" "lec_rtl_vs_pc"

  export STDCELL_MAIN_NON_TIMING_V =
/pkg/hwlibraries/gates/q55gl/2007.09/src/verilog/non-timing/q55gl.v 

else

  export STDCELL_MAIN_NON_TIMING_V =
/iceng/lib/q55gl/2007.09/synopsys/lib/tsmcn65lp/UPF/verilog/non-timing/q55gl
.v

endif

 

 

The target print is lec_rtl_vs_pc however 

But it goes in the else statement and picks the wrong library..

 

Any help will be appreciated..

 

Thanks,

Ranjana

_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to