diff options
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile index 49bcf0d..82fc79f 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,3 +1,6 @@ +CFLAGS=`cppunit-config --cflags` +LIBS=`cppunit-config --libs` + all: connectivity amrwb init rtp srtp opus raw connectivity: @@ -27,3 +30,7 @@ rtp: srtp: g++ -g -DUSE_CRYPTO test_$@.cc ../src/rtp.cc ../src/srtp.cc ../src/asc2bin.cc -lsrtp -o test_$@ ./test_$@ + +asc2bin: + g++ ${CFLAGS} ${LIBS} -g test.cc test_$@.cc -o test_$@ + ./test_$@ |