]> mj.ucw.cz Git - moe.git/blob - judge/Makefile
561df24a7894e68192fde50b2292bdfee0d46bae
[moe.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)