Here's an easy makefile for rebar3. All it does is download rebar3 into your project's './rebar3' if you don't have it already on your path. make all
just tells rebar to do everything. So even people with no exposure to rebar3 can build your project.
The End.
Here's how you'd fix it for solaris (just replace rebar3 for rebar)
msantos/procket@cc55bb9