Permalink
Browse files

modernized rebar.config

  • Loading branch information...
1 parent 97dc0bf commit c1e5aaf83841989c4fd3d0dbef71b4706bce3a80 @tonyrog committed Jul 9, 2012
Showing with 4 additions and 7 deletions.
  1. +4 −7 rebar.config
View
@@ -1,11 +1,8 @@
-{so_name, "resource_nif.so"}.
+%% -*- erlang -*-
+{port_specs, [
+ {"priv/resource_nif.so",["c_src/*.c"]}
+ ]}.
-{port_sources, ["c_src/*.c"]}.
-
-{port_envs, [
- {"CFLAGS", "$CFLAGS -fPIC"},
- {"DRV_CFLAGS", "$DRV_CFLAGS -Werror -I include"}
- ]}.
{edoc_opts, [{doclet, edown_doclet},
{src_path, ["src/"]},

0 comments on commit c1e5aaf

Please sign in to comment.