X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=makefile;h=c6c79812539f456877a7af34cd55f530f67774ac;hb=431c2a85ca0fc6be25d6ef35447c6f4ccf54b34c;hp=5c43e4b383b4136545bd64f9c5f3926a5a92ffc5;hpb=d4d924b26e451aec9ad84b6d9d376ba2aeab3422;p=dead%2Fhtsn.git diff --git a/makefile b/makefile index 5c43e4b..c6c7981 100644 --- a/makefile +++ b/makefile @@ -1,8 +1,9 @@ BIN = dist/build/htsn/htsn +TESTSUITE_BIN = dist/build/testsuite/testsuite .PHONY : dist hlint -$(BIN): src/*.hs +$(BIN): src/*.hs src/TSN/*.hs runghc Setup.hs clean runghc Setup.hs configure --user runghc Setup.hs build @@ -21,9 +22,15 @@ doc: src/*.hs clean: runghc Setup.hs clean + rm -f *.log + rm -f *.xml + rm -rf tmp +$(TESTSUITE_BIN): src/*.hs test/TestSuite.hs + runghc Setup.hs configure --user --enable-tests + runghc Setup.hs build -test: $(BIN) +test: $(BIN) $(TESTSUITE_BIN) runghc Setup.hs test dist: