]> mj.ucw.cz Git - eval.git/blob - judge/Makefile
e5fcce74a13a5769af18df0d68605469c06551f2
[eval.git] / judge / Makefile
1 CC=gcc-4.1.1
2 CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -Winline $(DEBUG) -std=gnu99
3 CFLAGS+=-Wno-pointer-sign -Wdisabled-optimization -Wno-missing-field-initializers
4
5 all: test-io test-tok
6
7 JLIB=utils.o io.o token.o
8
9 test-io: test-io.o $(JLIB)
10 test-tok: test-tok.o $(JLIB)
11
12 clean::
13         rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core`
14         rm -f test-io test-tok
15
16 .PHONY: all clean distclean