summaryrefslogtreecommitdiff
path: root/tests/pjsua/tools
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2009-08-17 08:29:47 +0000
committerBenny Prijono <bennylp@teluu.com>2009-08-17 08:29:47 +0000
commit467a0f87dc49c1ae99a1f8c47fe4cd2d850cdac8 (patch)
treeaeb032772ebdb34625114eea0468ec836623024e /tests/pjsua/tools
parent0c7d22afb672fb08310fc66b080a8c9acb3d9b7d (diff)
Misc (#915): several fixes on the python unit tests on Linux:
- added Makefile for cmp_wav and modified the test script - test 999: MESSAGE without body is now allowed git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2884 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'tests/pjsua/tools')
-rw-r--r--tests/pjsua/tools/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/pjsua/tools/Makefile b/tests/pjsua/tools/Makefile
new file mode 100644
index 00000000..189eb00c
--- /dev/null
+++ b/tests/pjsua/tools/Makefile
@@ -0,0 +1,21 @@
+#Modify this to point to the PJSIP location.
+PJBASE=~/Desktop/project/pjproject
+
+include $(PJBASE)/build.mak
+
+CC = $(APP_CC)
+LDFLAGS = $(APP_LDFLAGS)
+LDLIBS = $(APP_LDLIBS)
+CFLAGS = $(APP_CFLAGS)
+CPPFLAGS= ${CFLAGS}
+
+# If your application is in a file named myapp.cpp or myapp.c
+# # this is the line you will need to build the binary.
+# all: myapp
+#
+cmp_wav: cmp_wav.c
+ $(CC) -o $@ $< $(CPPFLAGS) $(LDFLAGS) $(LDLIBS)
+
+clean:
+ rm -f cmp_wav.o cmp_wav
+