{require_min_otp_vsn, "21"}.

{port_specs, [
    {"priv/jiffy.so", [
        "c_src/jiffy.c"
    ]}
]}.

{port_env, [
    % Drop -lerl_interface
    {"ERL_LDFLAGS", " -L$ERL_EI_LIBDIR -lei"},
    {"win32", "ERL_LDFLAGS", " /LIBPATH:$ERL_EI_LIBDIR ei.lib"},
    {"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin|gnu)",
        "CFLAGS", "$CFLAGS -Ic_src/ -g -Wall -Werror -O3 -fvisibility=hidden"}
]}.

{eunit_opts, [
    verbose
]}.
