]> mj.ucw.cz Git - eval.git/blob - judge/Makefile
Judges now compile and they use build/tester for the tests.
[eval.git] / judge / Makefile
1 # Makefile for MO-Eval judges
2 # (c) 2008 Martin Mares <mj@ucw.cz>
3
4 DIRS+=judge
5 JDIR=$(o)/judge
6 PROGS+=$(addprefix $(JDIR)/,test-io test-tok judge-tok judge-shuff filter-cmt)
7 JLIB=$(addprefix $(o)/judge/,utils.o io.o token.o)
8
9 $(JDIR)/test-io: $(JDIR)/test-io.o $(JLIB)
10 $(JDIR)/test-tok: $(JDIR)/test-tok.o $(JLIB)
11 $(JDIR)/judge-tok: $(JDIR)/judge-tok.o $(JLIB)
12 $(JDIR)/judge-tok: LDLIBS+=-lm
13 $(JDIR)/judge-shuff: $(JDIR)/judge-shuff.o $(JLIB)
14 $(JDIR)/filter-cmt: $(JDIR)/filter-cmt.o $(JLIB)
15
16 TESTS+=$(addprefix $(JDIR)/,io.test token.test judge-tok.test filter-cmt.test)