summaryrefslogtreecommitdiff
path: root/Makefile
blob: 8124aa75d29d7c946e2957c634fcaec44b4ef386 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
build: 
#	ghc --make 
	$(MAKE) tags

clean:
	rm -rf dist Setup tags
	find -name \*.o -exec rm {} \;
	find -name \*.hi -exec rm {} \;

# hothasktags chokes on some template haskell etc, so ignore errors
tags:
	find . | grep -v /.git/ | grep -v /tmp/ | grep -v /dist/ | grep -v /doc/ | egrep '\.hs$$' | xargs hothasktags > tags 2>/dev/null