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 all: test-io test-tok judge-tok filter-cmt JLIB=utils.o io.o token.o test-io: test-io.o $(JLIB) test-tok: test-tok.o $(JLIB) judge-tok: judge-tok.o $(JLIB) judge-tok: LDLIBS+=-lm filter-cmt: filter-cmt.o $(JLIB) 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 .PHONY: all clean distclean