diff options
author | Uros Majstorovic <majstor@MacBookPro.lan> | 2017-06-06 15:16:15 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@MacBookPro.lan> | 2017-06-06 15:16:15 +0200 |
commit | 25762246461186b92b71d256e098e0a7640875f1 (patch) | |
tree | fd180788da41432467aa2c65040ce54090c8374f /code/test/Makefile | |
parent | 94e7265d1122c23361b0db0add4610a46f3814af (diff) |
tests updated
Diffstat (limited to 'code/test/Makefile')
-rw-r--r-- | code/test/Makefile | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/code/test/Makefile b/code/test/Makefile index a6ebb90..6c5a7e5 100644 --- a/code/test/Makefile +++ b/code/test/Makefile @@ -9,25 +9,33 @@ dep=../core/libecpcore.a ../core/crypto/libecpcr.a ../core/htable/libecpht.a ../ all: client server basic stress proxy pr_server pr_client client: client.o init.o $(dep) - $(CC) -o $@ $(LDFLAGS) $< init.o $(dep) + $(CC) -o $@ $< init.o $(dep) $(LDFLAGS) server: server.o init.o $(dep) - $(CC) -o $@ $(LDFLAGS) $< init.o $(dep) + $(CC) -o $@ $< init.o $(dep) $(LDFLAGS) basic: basic.o init.o $(dep) - $(CC) -o $@ $(LDFLAGS) $< init.o $(dep) + $(CC) -o $@ $< init.o $(dep) $(LDFLAGS) stress: stress.o init.o $(dep) - $(CC) -o $@ $(LDFLAGS) $< init.o $(dep) + $(CC) -o $@ $< init.o $(dep) $(LDFLAGS) proxy: proxy.o init_proxy.o $(dep) - $(CC) -o $@ $(LDFLAGS) $< init_proxy.o $(dep) + $(CC) -o $@ $< init_proxy.o $(dep) $(LDFLAGS) pr_server: pr_server.o init_proxy.o $(dep) - $(CC) -o $@ $(LDFLAGS) $< init_proxy.o $(dep) + $(CC) -o $@ $< init_proxy.o $(dep) $(LDFLAGS) pr_client: pr_client.o init_proxy.o $(dep) - $(CC) -o $@ $(LDFLAGS) $< init_proxy.o $(dep) + $(CC) -o $@ $< init_proxy.o $(dep) $(LDFLAGS) + +opus_root=../../../opus-1.1.5 + +voip.o: voip.c + $(CC) $(CFLAGS) -I $(opus_root)/include -c $< + +voip: voip.o init.o $(dep) + $(CC) -o $@ $< init.o $(dep) $(opus_root)/.libs/libopus.a -lm $(LDFLAGS) -l asound clean: rm -f *.o |