@uchida is right. `ifeq` is not work on BSD make.

Instead of `ifeq`, how about add these definition to Makefile?

    BINDIR ?= bin
    LIBDIR ?= lib

and call make by `make BINDIR=Script LIBDIR=Lib` on win32 environment?