diff options
author | Uros Majstorovic <majstor@MacBookPro.lan> | 2017-06-06 17:01:22 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@MacBookPro.lan> | 2017-06-06 17:01:22 +0200 |
commit | 06f74eed2686a9cab4191908c3fd30f0c15a380b (patch) | |
tree | c945e3e1e553a9e9b45fd4a086bc2bbb3723c2cc /code/test/Makefile | |
parent | 25762246461186b92b71d256e098e0a7640875f1 (diff) |
voip test case added
Diffstat (limited to 'code/test/Makefile')
-rw-r--r-- | code/test/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/code/test/Makefile b/code/test/Makefile index 6c5a7e5..8f42021 100644 --- a/code/test/Makefile +++ b/code/test/Makefile @@ -6,7 +6,10 @@ dep=../core/libecpcore.a ../core/crypto/libecpcr.a ../core/htable/libecpht.a ../ %.o: %.c $(CC) $(CFLAGS) -c $< -all: client server basic stress proxy pr_server pr_client +all: basic client server echo stress proxy pr_server pr_client + +basic: basic.o init.o $(dep) + $(CC) -o $@ $< init.o $(dep) $(LDFLAGS) client: client.o init.o $(dep) $(CC) -o $@ $< init.o $(dep) $(LDFLAGS) @@ -14,7 +17,7 @@ client: client.o init.o $(dep) server: server.o init.o $(dep) $(CC) -o $@ $< init.o $(dep) $(LDFLAGS) -basic: basic.o init.o $(dep) +echo: echo.o init.o $(dep) $(CC) -o $@ $< init.o $(dep) $(LDFLAGS) stress: stress.o init.o $(dep) @@ -29,8 +32,8 @@ pr_server: pr_server.o init_proxy.o $(dep) pr_client: pr_client.o init_proxy.o $(dep) $(CC) -o $@ $< init_proxy.o $(dep) $(LDFLAGS) -opus_root=../../../opus-1.1.5 +opus_root=../../../opus-1.1.5 voip.o: voip.c $(CC) $(CFLAGS) -I $(opus_root)/include -c $< @@ -39,4 +42,4 @@ voip: voip.o init.o $(dep) clean: rm -f *.o - rm -f basic stress client server proxy pr_server pr_client + rm -f basic client server echo stress proxy pr_server pr_client voip |