X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=judge%2FMakefile;h=1478b496aa798ba80a546bea212201dc9678fa73;hb=50cc126ebe949259a54f153a123848d771601b77;hp=ccb9838e585e7a2591f9a61267e0ec4db7a25bdc;hpb=aad2f1246bc675ca53839958533112c753f06762;p=eval.git diff --git a/judge/Makefile b/judge/Makefile index ccb9838..1478b49 100644 --- a/judge/Makefile +++ b/judge/Makefile @@ -1,4 +1,4 @@ -CC=gcc-4.1.1 +#CC=gcc-4.1.1 CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -Winline $(DEBUG) -std=gnu99 CFLAGS+=-Wno-pointer-sign -Wdisabled-optimization -Wno-missing-field-initializers @@ -13,16 +13,18 @@ judge-tok: LDLIBS+=-lm judge-shuff: judge-shuff.o $(JLIB) filter-cmt: filter-cmt.o $(JLIB) -tests: $(addsuffix .test,io token) +tests: $(addsuffix .test,io token filter-cmt judge-tok) io.test: test-io token.test: test-tok +filter-cmt.test: filter-cmt +judge-tok.test: judge-tok %.test: %.t tester ./tester $< clean:: rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core` - rm -f test-io test-tok judge-tok filter-cmt + rm -f test-io test-tok judge-tok judge-shuff filter-cmt rm -rf tmp .PHONY: all clean distclean