X-Git-Url: http://gitweb.michael.orlitzky.com/?p=haeredes.git;a=blobdiff_plain;f=makefile;h=35241bece52f5ac5e0dbe049d2a17c7108cbe3f6;hp=c04b61b790a4a0967fa619cd7c6ea7bb2fc20c3f;hb=b83a4dc5c3471d485147738e0f78e18352243377;hpb=e5168c9d5f32912d4e77713935e8c09a468bfd01 diff --git a/makefile b/makefile index c04b61b..35241be 100644 --- a/makefile +++ b/makefile @@ -1,5 +1,6 @@ -BIN = dist/build/haeres/haeres +BIN = dist/build/haeredes/haeredes TESTSUITE_BIN = dist/build/testsuite/testsuite +DOCTESTS_BIN = dist/build/doctests/doctests .PHONY : dist doc test @@ -12,10 +13,16 @@ $(TESTSUITE_BIN): src/*.hs test/TestSuite.hs runghc Setup.hs configure --user --enable-tests runghc Setup.hs build +$(DOCTESTS_BIN): src/*.hs test/Doctests.hs + runghc Setup.hs configure --user --enable-tests + runghc Setup.hs build + clean: runghc Setup.hs clean + rm -f src/*.hi + rm -f src/*.o -test: $(BIN) $(TESTSUITE_BIN) +test: $(BIN) $(TESTSUITE_BIN) $(DOCTESTS_BIN) runghc Setup.hs test doc: