X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=judge%2FMakefile;h=561df24a7894e68192fde50b2292bdfee0d46bae;hb=8a40e9a1ae61ee2011e43e7a67bd1f0a6b4a7eb6;hp=e9adf41e5c33505024262f52f9aff83b4f8464d9;hpb=a1d6977c15e1d3de6ad9518e972ff0ffbd946be4;p=moe.git diff --git a/judge/Makefile b/judge/Makefile index e9adf41..561df24 100644 --- a/judge/Makefile +++ b/judge/Makefile @@ -1,10 +1,10 @@ # Makefile for MO-Eval judges -# (c) 2008 Martin Mares +# (c) 2008--2009 Martin Mares DIRS+=judge JDIR=$(o)/judge PROGS+=$(addprefix $(JDIR)/,test-io test-tok judge-tok judge-shuff filter-cmt) -JLIB=$(addprefix $(o)/judge/,utils.o io.o token.o) +JLIB=$(JDIR)/libjudge.a $(JDIR)/test-io: $(JDIR)/test-io.o $(JLIB) $(JDIR)/test-tok: $(JDIR)/test-tok.o $(JLIB) @@ -13,4 +13,6 @@ $(JDIR)/judge-tok: LDLIBS+=-lm $(JDIR)/judge-shuff: $(JDIR)/judge-shuff.o $(JLIB) $(JDIR)/filter-cmt: $(JDIR)/filter-cmt.o $(JLIB) +$(JLIB): $(addprefix $(JDIR)/,utils.o io.o token.o) + TESTS+=$(addprefix $(JDIR)/,io.test token.test judge-tok.test filter-cmt.test)