From 25de5e761daab8b897a4f09ff8503e6f43c299f9 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Wed, 3 May 2017 21:10:08 +0200 Subject: initial commit --- code/test/Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 code/test/Makefile (limited to 'code/test/Makefile') diff --git a/code/test/Makefile b/code/test/Makefile new file mode 100644 index 0000000..7992127 --- /dev/null +++ b/code/test/Makefile @@ -0,0 +1,18 @@ +CFLAGS=-I.. -O3 -Wno-int-to-void-pointer-cast +LDFLAGS=-lm -pthread +dep=../libecpcore.a ../crypto/libecpcr.a ../htable/libecpht.a ../posix/libecptr.a ../posix/libecptm.a + +%.o: %.c + $(CC) $(CFLAGS) -c $< + +all: server stress + +server: server.o $(dep) + $(CC) $< $(dep) $(LDFLAGS) -o $@ + +stress: stress.o $(dep) + $(CC) $< $(dep) $(LDFLAGS) -o $@ + +clean: + rm -f *.o + rm -f server stress -- cgit v1.2.3