CXXFLAGS += -I. -I../common/ -Wno-sign-compare
OBJS = tests_utf8 tests_tcpserver tests_tcpclient tests_tcpserver.o

all: ${OBJS}

tests_tcpserver: tests_tcpserver.o ../common/timmilib.a
	${CXX} ${CXXFLAGS} -o $@ $^

tests_tcpclient: tests_tcpclient.o ../common/timmilib.a
	${CXX} ${CXXFLAGS} -o $@ $^

tests_utf8: tests_utf8.o ../common/timmilib.a
	${CXX} ${CXXFLAGS} -o $@ $^

%.o: %.cc
	${CXX} ${CXXFLAGS} -c -o $@ $<

clean:
	rm -f ${OBJS}

veryclean:
	rm -f ${OBJS} *\~ core
