]> mj.ucw.cz Git - eval.git/blob - judge/Makefile
Fixed small error (which should manifest anyway)
[eval.git] / judge / Makefile
1 # Makefile for MO-Eval judges
2 # (c) 2008--2009 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=$(JDIR)/libjudge.a
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 $(JLIB): $(addprefix $(JDIR)/,utils.o io.o token.o)
17
18 TESTS+=$(addprefix $(JDIR)/,io.test token.test judge-tok.test filter-cmt.test)