% vim: set ft=erlang : -*- erlang -*- % Magic lines for code editors | |
{port_specs, [ | |
{"priv/khash.so", ["c_src/*.c"]} | |
]}. | |
{port_env, [ | |
% Development compilation | |
% {".*", "CFLAGS", "$CFLAGS -g -Wall -Werror -fPIC"} | |
% Production compilation | |
{"(linux|solaris|darwin|freebsd)", "CFLAGS", "$CFLAGS -Wall -Werror -DNDEBUG -O3"}, | |
{"win32", "CFLAGS", "$CFLAGS /O2 /DNDEBUG /Wall"} | |
]}. |