.PHONY: all all: setup shim setup: @chmod u+x Setup.lhs @echo "run \"./Setup.lhs configure\" to create dist/setup-config" .PHONY: shim shim: dist/setup-config runhaskell Setup.lhs build .PHONY: clean clean: runhaskell Setup.lhs clean rm -f shim-udproxy Shim/Udproxy.o Shim/Udproxy.hi .PHONY: tags tags: find . -name '*hs' | grep -v _darcs | xargs hasktags