summaryrefslogtreecommitdiff
path: root/code/test/Makefile
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2020-08-05 03:38:22 +0200
committerUros Majstorovic <majstor@majstor.org>2020-08-05 03:38:22 +0200
commit5cd610a07468137066ea4daa5176c3e7045113b0 (patch)
treea6a5b572572f8f37ec2cb87332fa46e9bcc53aa7 /code/test/Makefile
parent2473a7d5c51806ab8651cd3c4e07a15b62084eb5 (diff)
ecp moved to root; fixed utils and tests
Diffstat (limited to 'code/test/Makefile')
-rw-r--r--code/test/Makefile52
1 files changed, 0 insertions, 52 deletions
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