From 9ba69184b27a63a132c036c5abfbc7aefe414235 Mon Sep 17 00:00:00 2001 From: powellda Date: Tue, 12 Jun 2018 09:29:52 +0100 Subject: [PATCH] Added missing makefile --- evaluation/client_server/Makefile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 evaluation/client_server/Makefile diff --git a/evaluation/client_server/Makefile b/evaluation/client_server/Makefile new file mode 100644 index 0000000..91b5e6a --- /dev/null +++ b/evaluation/client_server/Makefile @@ -0,0 +1,26 @@ +CC=gcc +## with debug +CFLAG=-g -Wall -DDEBUG=1 -DVERBOSE=1 +## With even more debug... +#CFLAG=-g -Wall -DDEBUG=1 +#LD= -L/usr/local/ssl/lib -lssl -lcrypto -ldl -lpthread +LD= -L../.. -lssl -lcrypto -ldl -lpthread + +#INCLUDES= -I/usr/local/ssl/include +INCLUDES= -I../../include +CFLAGS= $(INCLUDES) $(CFLAG) +#CFLAGS= -DMONOLITH $(INCLUDES) $(CFLAG) +# (what is DMONOLITH doing?) + +all: wclient wserver mbox + +wclient: wclient.o common.o + $(CC) $(CFLAGS) wclient.o common.o -o wclient $(LD) +wserver: wserver.o common.o + $(CC) $(CFLAGS) wserver.o common.o -o wserver $(LD) +mbox: middlebox.o common.o + $(CC) $(CFLAGS) middlebox.o common.o -o mbox $(LD) + +clean: + rm *.o wclient wserver mbox + -- GitLab