]> mj.ucw.cz Git - eval.git/blobdiff - judge/Makefile
Writing status uses dump
[eval.git] / judge / Makefile
index e9adf41e5c33505024262f52f9aff83b4f8464d9..561df24a7894e68192fde50b2292bdfee0d46bae 100644 (file)
@@ -1,10 +1,10 @@
 # Makefile for MO-Eval judges
-# (c) 2008 Martin Mares <mj@ucw.cz>
+# (c) 2008--2009 Martin Mares <mj@ucw.cz>
 
 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)