Connection communication in separate thread

This commit is contained in:
Petr Baudis 2011-11-27 01:24:52 +01:00
parent ec3897b29b
commit 92940b6054
4 changed files with 92 additions and 7 deletions

View file

@ -1,9 +1,10 @@
CFLAGS=-Wall -g
CFLAGS=-Wall -g -pthread
LDFLAGS=-pthread
OBJS=main.o map.o agent.o connection.o
brmlife: $(OBJS)
$(CXX) -o $@ $^
$(CXX) $(LDFLAGS) -o $@ $^
clean: