From 9f9798e2c818a133aacc5b0c7b4fc6a6d1d3fddf Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 20 Jun 2007 01:09:52 +0000 Subject: begin multi threading added signal controller (not working yet) --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 03af359..37f7ba8 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ CFLAGS = -g -Wall C++ = g++ CCFLAGS = -g -Wall LD = g++ -LDFLAGS = -g -O2 -ldl +LDFLAGS = -g -O2 -ldl -lpthread OPENVPNDEPS = openvpn/tun.o \ openvpn/error.o \ @@ -31,7 +31,7 @@ OPENVPNDEPS = openvpn/tun.o \ -OBJS = anytun.o tunDevice.o buffer.o package.o cypher.o authAlgo.o PracticalSocket.o $(OPENVPNDEPS) +OBJS = anytun.o tunDevice.o buffer.o package.o cypher.o authAlgo.o PracticalSocket.o signalController.o $(OPENVPNDEPS) EXECUTABLE = anytun all: $(EXECUTABLE) @@ -54,6 +54,9 @@ cypher.o: cypher.cpp cypher.h buffer.h authAlgo.o: authAlgo.cpp authAlgo.h buffer.h $(C++) $(CCFLAGS) $< -c +signalController.o: signalController.cpp signalController.h + $(C++) $(CCFLAGS) $< -c + PracticalSocket.o: PracticalSocket.cpp PracticalSocket.h $(C++) $(CCFLAGS) $< -c -- cgit v1.2.3