diff --git a/Makefile b/Makefile index b6af23f..cadc9d6 100644 --- a/Makefile +++ b/Makefile @@ -3,13 +3,15 @@ REBAR=$(shell which rebar || echo ./rebar) all: compile ./rebar: - erl -noshell -s inets start \ - -eval 'httpc:request(get, {"http://hg.basho.com/rebar/downloads/rebar", []}, [], [{stream, "./rebar"}])' \ - -s init stop - chmod +x ./rebar + erl -noshell -s inets start \ + -eval 'httpc:request(get, {\ + "http://hg.basho.com/rebar/downloads/rebar", []\ + }, [], [{stream, "./rebar"}])' \ + -s init stop + chmod +x ./rebar compile: $(REBAR) - @$(REBAR) compile + @$(REBAR) compile clean: $(REBAR) - @$(REBAR) clean + @$(REBAR) clean