diff options
author | Uros Majstorovic <majstor@majstor.org> | 2017-05-03 21:10:08 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2017-05-03 21:10:08 +0200 |
commit | 25de5e761daab8b897a4f09ff8503e6f43c299f9 (patch) | |
tree | a9a1c185c7f89d67f9250e42b2aa53eefc9a6770 /code/test/Makefile |
initial commit
Diffstat (limited to 'code/test/Makefile')
-rw-r--r-- | code/test/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
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 |