BIN = dist/build/hath/hath
TESTSUITE_BIN = dist/build/testsuite/testsuite
-.PHONY : test
+.PHONY : test dist
$(BIN): src/*.hs
runghc Setup.hs clean
runghc Setup.hs configure --user --enable-executable-profiling
runghc Setup.hs build
+doc: src/*.hs
+ runghc Setup.hs configure --user
+ runghc Setup.hs hscolour --executables
+ runghc Setup.hs haddock --internal \
+ --executables \
+ --hyperlink-source
+
clean:
runghc Setup.hs clean