bdberl/Makefile
2011-11-28 18:39:53 -05:00

31 lines
472 B
Makefile

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