You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

24 lines
797 B

{port_sources, ["c_src/*.c"]}.
{so_name, "jiffy.so"}.
{port_envs, [
%% Link the spidermonkey library
{".*", "CFLAGS", "$CFLAGS -g -Wall"},
%% Make sure to link -lstdc++ on linux or solaris
{"(linux|solaris)", "LDFLAGS", "$LDFLAGS -lstdc++"},
%% OS X Leopard flags for 64-bit
{"darwin9.*-64$", "CXXFLAGS", "-m64"},
{"darwin9.*-64$", "LDFLAGS", "-arch x86_64"},
%% OS X Snow Leopard flags for 32-bit
{"darwin10.*-32$", "CXXFLAGS", "-m32"},
{"darwin10.*-32$", "LDFLAGS", "-arch i386"}
]}.
{eunit_opts, [verbose, {report,{eunit_surefire,[{dir,"."}]}}]}.
{deps, [{proper_stdlib, ".*",
{git, "https://github.com/spawngrid/proper_stdlib.git", "master"}},
{proper, ".*",
{git, "https://github.com/manopapad/proper.git", "master"}}]}.