]> gitweb.michael.orlitzky.com - hath.git/blobdiff - makefile
Remove useless --flags in makefile.
[hath.git] / makefile
index 14f4c7def998d6b12e1445d250468bd0e85345e7..5d42778f0942b95ef9a0266ed324f43ba470eadb 100644 (file)
--- a/makefile
+++ b/makefile
@@ -1,7 +1,7 @@
 BIN           = dist/build/hath/hath
 TESTSUITE_BIN = dist/build/testsuite/testsuite
 
-.PHONY : test
+.PHONY : test dist hlint
 
 $(BIN): src/*.hs
        runghc Setup.hs clean
@@ -25,7 +25,7 @@ clean:
 
 
 $(TESTSUITE_BIN): src/*.hs test/TestSuite.hs
-       runghc Setup.hs configure --user --flags=${FLAGS} --enable-tests
+       runghc Setup.hs configure --user --enable-tests
        runghc Setup.hs build
 
 test: $(BIN) $(TESTSUITE_BIN)
@@ -34,3 +34,9 @@ test: $(BIN) $(TESTSUITE_BIN)
 dist:
        runghc Setup.hs configure
        runghc Setup.hs sdist
+
+hlint:
+       hlint --ignore="Use camelCase"     \
+             --ignore="Redundant bracket" \
+             --color                      \
+             src