ported code to use rebar and R14B

This commit is contained in:
Scott Chacon
2010-11-03 15:53:14 -07:00
parent fc4b19eff1
commit c1ea72abae
8 changed files with 71 additions and 44 deletions

13
rebar.config Normal file
View File

@@ -0,0 +1,13 @@
{so_name, "geef.so"}.
{port_envs, [
{"DRV_LDFLAGS", "$DRV_LDFLAGS -lz -lgit2"},
%% 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"}
]}.