diff options
Diffstat (limited to 'code/test')
-rw-r--r-- | code/test/Makefile | 7 | ||||
-rw-r--r-- | code/test/init_vconn.c | 2 | ||||
-rw-r--r-- | code/test/vc_client.c | 2 | ||||
-rw-r--r-- | code/test/vc_server.c | 2 | ||||
-rw-r--r-- | code/test/vcs.c | 2 |
5 files changed, 8 insertions, 7 deletions
diff --git a/code/test/Makefile b/code/test/Makefile index ec9730f..26b89f6 100644 --- a/code/test/Makefile +++ b/code/test/Makefile @@ -1,7 +1,8 @@ -CFLAGS=-I../core -I../vconn -I../util -O3 -Wno-int-to-void-pointer-cast -LDFLAGS=-lm -pthread +include ../Makefile.platform +CFLAGS=$(CFLAGS_PL) -I../core -I../util -Wno-int-to-void-pointer-cast +LDFLAGS=$(LDFLAGS_PL) -dep=../core/libecpcore.a ../core/crypto/libecpcr.a ../core/htable/libecpht.a ../core/posix/libecptr.a ../core/posix/libecptm.a ../vconn/libecpvconn.a ../util/libecputil.a +dep=../core/libecpcore.a ../core/crypto/libecpcr.a ../core/htable/libecpht.a ../core/posix/libecptr.a ../core/posix/libecptm.a ../core/vconn/libecpvconn.a ../util/libecputil.a %.o: %.c $(CC) $(CFLAGS) -c $< diff --git a/code/test/init_vconn.c b/code/test/init_vconn.c index 2e82598..29c8db5 100644 --- a/code/test/init_vconn.c +++ b/code/test/init_vconn.c @@ -3,7 +3,7 @@ #include <unistd.h> #include "core.h" -#include "vconn.h" +#include "vconn/vconn.h" static int v_rng(void *buf, size_t bufsize) { int fd; diff --git a/code/test/vc_client.c b/code/test/vc_client.c index 9ea3d1b..e654e76 100644 --- a/code/test/vc_client.c +++ b/code/test/vc_client.c @@ -4,7 +4,7 @@ #include <stdlib.h> #include "core.h" -#include "vconn.h" +#include "vconn/vconn.h" #include "util.h" ECPContext ctx; diff --git a/code/test/vc_server.c b/code/test/vc_server.c index 8525ad4..04b8104 100644 --- a/code/test/vc_server.c +++ b/code/test/vc_server.c @@ -4,7 +4,7 @@ #include <stdlib.h> #include "core.h" -#include "vconn.h" +#include "vconn/vconn.h" #include "util.h" ECPContext ctx; diff --git a/code/test/vcs.c b/code/test/vcs.c index 1dbf67d..23e2557 100644 --- a/code/test/vcs.c +++ b/code/test/vcs.c @@ -5,7 +5,7 @@ #include "core.h" #include "util.h" -#include "vconn.h" +#include "vconn/vconn.h" ECPContext ctx; ECPSocket sock; |