From 5cd610a07468137066ea4daa5176c3e7045113b0 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Wed, 5 Aug 2020 03:38:22 +0200 Subject: ecp moved to root; fixed utils and tests --- code/test/Makefile | 52 ---------------------------------------------------- 1 file changed, 52 deletions(-) delete mode 100644 code/test/Makefile (limited to 'code/test/Makefile') diff --git a/code/test/Makefile b/code/test/Makefile deleted file mode 100644 index 9c804a3..0000000 --- a/code/test/Makefile +++ /dev/null @@ -1,52 +0,0 @@ -include ../ecp/Makefile.posix -CFLAGS=$(CFLAGS_PL) -I../ecp -I../util -Wno-int-to-void-pointer-cast -LDFLAGS=$(LDFLAGS_PL) - -dep=../ecp/build-posix/*.a ../util/libecputil.a - -%.o: %.c - $(CC) $(CFLAGS) -c $< - -all: basic client server echo frag stress vcs vc_server vc_client vc_client_t - -basic: basic.o init.o $(dep) - $(CC) -o $@ $< init.o $(dep) $(LDFLAGS) - -client: client.o init.o $(dep) - $(CC) -o $@ $< init.o $(dep) $(LDFLAGS) - -server: server.o init.o $(dep) - $(CC) -o $@ $< init.o $(dep) $(LDFLAGS) - -echo: echo.o init.o $(dep) - $(CC) -o $@ $< init.o $(dep) $(LDFLAGS) - -frag: frag.o init.o $(dep) - $(CC) -o $@ $< init.o $(dep) $(LDFLAGS) - -stress: stress.o init.o $(dep) - $(CC) -o $@ $< init.o $(dep) $(LDFLAGS) - -vcs: vcs.o init_vconn.o $(dep) - $(CC) -o $@ $< init_vconn.o $(dep) $(LDFLAGS) - -vc_server: vc_server.o init_vconn.o $(dep) - $(CC) -o $@ $< init_vconn.o $(dep) $(LDFLAGS) - -vc_client: vc_client.o init_vconn.o $(dep) - $(CC) -o $@ $< init_vconn.o $(dep) $(LDFLAGS) - -vc_client_t: vc_client_t.o init_vconn.o $(dep) - $(CC) -o $@ $< init_vconn.o $(dep) $(LDFLAGS) - - -opus_root=/opt/my/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 - rm -f basic client server echo frag stress vcs vc_server vc_client vc_client_t voip -- cgit v1.2.3