Hello Group,

I have the following in my makefile. Doesn’t work the way I intend it to.
  How do I do conditional test with a regular expression ?





ifeq (${HOST_TYPE},x86_64)                            ----------------------
à works

  ifeq (${LATTICE_VERSION},d3.*)                  ----------------------à
doesn’t work

    LATTICE_EXE_PATH  = ${ISPFPGA}/bin/lin64

  else

    LATTICE_EXE_PATH  = ${ISPFPGA}/bin/lin

  endif

else

  LATTICE_EXE_PATH  = ${ISPFPGA}/bin/lin
endif


with Regards
Uday V G




-- 
*********************************************************
Don't ask them WHY they hurt you,
because all they'll tell you is lies and excuses.
 Just know they were wrong, and try to move on.
**********************************************************

Reply via email to