From 9d920694a14c8fc0797ea11f3d063e6db8708c63 Mon Sep 17 00:00:00 2001 From: powellda Date: Fri, 18 May 2018 17:00:10 +0100 Subject: [PATCH] adding demonstrator v0.1 --- evaluation/demonstration/Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 evaluation/demonstration/Makefile diff --git a/evaluation/demonstration/Makefile b/evaluation/demonstration/Makefile new file mode 100644 index 0000000..1028623 --- /dev/null +++ b/evaluation/demonstration/Makefile @@ -0,0 +1,21 @@ +CFLAGS=-g -I../../include +LIBS=-lssl -lcrypto -lpthread -ldl +LDFLAGS=-L../.. +TARGETS=client server middlebox + +all: $(TARGETS) + +client: client.o common.o + $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) + +server: server.o common.o + $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) + +middlebox: middlebox.o common.o + $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) + +%.o: %.c + $(CC) $(CFLAGS) -c -o $@ $< + +clean: + rm -f *.o $(TARGETS) \ No newline at end of file -- GitLab