aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/ber/Makefile
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2019-02-23 12:18:33 +0100
committerSylvain Munaut <tnt@246tNt.com>2019-05-15 14:28:43 +0200
commitafa5d76a55aef069b3b23ad0d6992338adf832a5 (patch)
tree4c0f3cb6eb76d8bca13a32fc2dd7b0e0966ece83 /contrib/ber/Makefile
parentc6c2aa9ecdeba74de4ddc51320de5fd674a5702a (diff)
contrib: Import BER testing tooltnt/ber
Change-Id: I1cffa0ae959e29ec61775b13185fd1057ed7485a Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'contrib/ber/Makefile')
-rw-r--r--contrib/ber/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/ber/Makefile b/contrib/ber/Makefile
new file mode 100644
index 00000000..5063107c
--- /dev/null
+++ b/contrib/ber/Makefile
@@ -0,0 +1,14 @@
+CC=gcc
+LD=gcc
+CFLAGS=`pkg-config --cflags libosmocore libosmotrau libosmocodec` -O2 -Wall -ggdb
+LDLIBS=`pkg-config --libs libosmocore libosmotrau libosmocodec` -ggdb
+
+all: rtp_ber
+
+rtp_ber.o: codec_bit_class.h
+
+codec_bit_class.h: rtp_gen_map
+ ./rtp_gen_map > codec_bit_class.h
+
+clean:
+ rm -f rtp_ber rtp_gen_map codec_bit_class.h *.o