# Makefile for catlfish

PREFIX=.
INSTDIR=$(PREFIX)/catlfish

build all:
	./make.erl

clean:
	-rm ebin/*.beam

release: all
	rm -rf $(INSTDIR)
	mkdir $(INSTDIR)
	./makerelease.erl $(INSTDIR)

tests:
	make -C test tests

dialyze: build
	dialyzer ebin

tags:
	find . -name \*.?rl -o -name \*.py | etags -

# Unit testing.
check: all
	test/check.erl