ERL ?=erl CT_RUN ?=ct_run ERL_FLAGS ?=+A10 REBAR_FLAGS := all: deps compile deps: $(REBAR) get-deps compile: $(BDB_LOCAL_LIB) ERL_FLAGS=$(ERL_FLAGS) $(REBAR) $(REBAR_FLAGS) compile test: tests tests: @ $(REBAR) $(REBAR_FLAGS) eunit app=bdberl @ $(REBAR) $(REBAR_FLAGS) ct app=bdberl thrash-test: @ $(CT_RUN) -pa test/ -suite thrash_SUITE clean: $(REBAR) $(REBAR_FLAGS) clean -rm test/*.beam distclean: clean $(REBAR) delete-deps -make -C c_src clean -rm -rf c_src/sources -rm -rf priv -rm -rf logs include rebar.mk .EXPORT_ALL_VARIABLES: