Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

53 lines (37 sloc) 0.935 kb
TARGET= lsm_tree
REBAR= /usr/bin/env rebar
ERL= /usr/bin/env erl
ERL_BINDIR= /opt/erlang/r15b02/erts-5.9.2/bin
DIALYZER= dialyzer
.PHONY: plt analyze all deps compile get-deps clean
all: compile
deps: get-deps
get-deps:
@$(REBAR) get-deps
compile:
@$(REBAR) compile
clean:
@$(REBAR) clean
test: eunit
eunit: compile clean-test-btrees
@$(REBAR) eunit skip_deps=true
eunit_console:
@$(ERL) -pa .eunit deps/*/ebin
# TODO fix this
clean-test-btrees:
@rm -fr .eunit/Btree_* .eunit/simple
plt: compile
@$(DIALYZER) --build_plt --output_plt .$(TARGET).plt \
-pa deps/plain_fsm/ebin \
deps/plain_fsm/ebin \
--apps kernel stdlib
analyze: compile
$(DIALYZER) --plt .$(TARGET).plt \
-pa deps/plain_fsm/ebin \
-pa deps/ebloom/ebin \
ebin
repl:
$(ERL) -pz deps/*/ebin -pa ebin
gdb-repl:
USE_GDB=1 $(ERL) -pz deps/*/ebin -pa ebin
# gdb $(ERL_BINDIR)/erlexec --args $(ERL_BINDIR)/erlexec -pz deps/*/ebin -pa ebin
Jump to Line
Something went wrong with that request. Please try again.