summaryrefslogtreecommitdiff
path: root/Makefile
blob: 5af550863b33ece7be68130e97ef320f87bfd094 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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