TOOL=hakusan
VERSION = 0.8

all:
	ghc -O -Wall -o $(TOOL) Main

clean:
	rm -f *.hi *.o $(TOOL) 

archive:
	git archive --format=tar --prefix=$(TOOL)/ HEAD | gzip > $(TOOL)-$(VERSION).tgz

static:
	ghc -O -Wall -optl=-fuse-ld=bfd -optl=-static -o hakusan Main
