X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=inline;f=judge%2FMakefile;h=d43ddecd2bc584b2e7e62985051eeafd1165ca69;hb=e663f0222d8299a6b802cc35983858cfeca13a70;hp=c9ddb07b3e9451d57c91b339a8fe2521a153b476;hpb=ed92a914fa9d0db91fc7efcf70552076c46a89b5;p=eval.git diff --git a/judge/Makefile b/judge/Makefile index c9ddb07..d43ddec 100644 --- a/judge/Makefile +++ b/judge/Makefile @@ -13,8 +13,18 @@ judge-tok: LDLIBS+=-lm judge-shuff: judge-shuff.o $(JLIB) filter-cmt: filter-cmt.o $(JLIB) +tests: $(addsuffix .test,io token filter-cmt judge-tok) +io.test: test-io +token.test: test-tok +filter-cmt.test: filter-cmt +judge-tok.test: judge-tok + +%.test: %.t tester + ./tester $< + clean:: rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core` - rm -f test-io test-tok judge-tok filter-cmt + rm -f test-io test-tok judge-tok judge-shuff filter-cmt + rm -rf tmp .PHONY: all clean distclean