Dear all,

I'd like to be able to write something like this:

flags := \
  $(shell \
    case "$(TARGET)" in \
      i386-*-openbsd5.[5-9]*|i386-*-openbsd[6-9].*) \
        echo "-ccopt -nopie";; \
      *);; \
    esac \
  )

Of course this does not work because the first closing parenthesis is
interpreted as ending the call to the shell function.

Is there a way to actually achieve this, please?

Thanks!

Sébastien.

_______________________________________________
Help-make mailing list
Help-make@gnu.org
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to