how_are_you/Makefile

28 lines
328 B
Makefile
Raw Normal View History

REBAR := $(shell which rebar3 2>/dev/null || which ./rebar3)
.PHONY: all
all: update compile xref dialyze clean distclean
update:
$(REBAR) update
compile: update
$(REBAR) compile
xref:
$(REBAR) xref
dialyze:
$(REBAR) dialyzer
clean:
$(REBAR) clean
distclean:
$(REBAR) clean -a
rm -rf _build
#test:
# $(REBAR) ct