summaryrefslogtreecommitdiff
path: root/Makefile
blob: a9c6d6d8b058a1071c0ce12bf160875128d3b8fb (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
29
30
31
32
# Makefile for catlfish

PREFIX=.
INSTDIR=$(PREFIX)/catlfish

build all:
	./make.erl

clean:
	-rm ebin/*.beam
	$(MAKE) -C doc $@

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 -

doc:
	$(MAKE) -C $@

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