summaryrefslogtreecommitdiff
path: root/code/test/Makefile
diff options
context:
space:
mode:
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