1 # Makefile for Moe judges
2 # (c) 2008--2009 Martin Mares <mj@ucw.cz>
6 PROGS+=$(addprefix $(JDIR)/,test-io test-tok judge-tok judge-shuff filter-cmt)
7 JLIB=$(JDIR)/libjudge.a
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)
16 $(JLIB): $(addprefix $(JDIR)/,utils.o io.o token.o)
18 TESTS+=$(addprefix $(JDIR)/,io.test token.test judge-tok.test filter-cmt.test)