X-Git-Url: http://git.pk910.de/?p=ChatPrototype.git;a=blobdiff_plain;f=SessionService%2Fsrc%2Ftest%2Ftimer%2FMakefile;fp=SessionService%2Fsrc%2Ftest%2Ftimer%2FMakefile;h=724e34bf1a97fe188ad12434651b79d60d1d5077;hp=0000000000000000000000000000000000000000;hb=b7b97486eb000081305e86486197351682386c06;hpb=5ad65e65d2234b02151ea7ca17e3fa9893a9b165 diff --git a/SessionService/src/test/timer/Makefile b/SessionService/src/test/timer/Makefile new file mode 100644 index 0000000..724e34b --- /dev/null +++ b/SessionService/src/test/timer/Makefile @@ -0,0 +1,12 @@ + +CC = gcc +CFLAGS = -g -O0 -Wall -Wshadow -Werror -DHAVE_PTHREAD_H +LDFLAGS = -lws2_32 -lpthread + +OBJ = ../../IOEngine_epoll.o ../../IOEngine_kevent.o ../../IOEngine_select.o ../../IOEngine_win32.o ../../IOHandler.o ../../IOHandler_SSL.o iotest.o + +all: $(OBJ) + $(CC) $(CFLAGS) -oiotest $(OBJ) $(LDFLAGS) + +%.o: %.c + $(CC) $(CFLAGS) -o$@ -c $<