Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (24 sloc) 487 Bytes
REBAR ?= rebar3
all: dirs compile
dirs:
-@mkdir -p priv/tmp
compile:
@$(REBAR) compile
clean:
@$(REBAR) clean
deps:
@$(REBAR) get-deps
examples: eg
eg:
@erlc -I deps -o ebin examples/*.erl
setuid: all
sudo chown root priv/procket
sudo chmod 4750 priv/procket
.PHONY: dialyzer typer clean distclean
dialyzer:
@$(REBAR) dialyzer
typer: $(DEPSOLVER_PLT)
@typer -I include --plt $(DEPSOLVER_PLT) -r ./src
distclean: clean
@rm $(DEPSOLVER_PLT)
print-%: ; @echo $*=$($*)