diff options
author | Harald Welte <laforge@osmocom.org> | 2020-06-20 21:05:31 +0200 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2020-08-03 02:57:42 +0200 |
commit | 04fe6b5f0534673255b8592fde50ff2860d8a541 (patch) | |
tree | d2739db680948d30c7ccc214176bf1364fa12bb2 /contrib/trau2rtp/Makefile | |
parent | cd90ed2dd5084d3bf4aec7269d0bed81be1dd651 (diff) |
Add 'trau2rtp' demo program illustrating the use of new TRAU code
This is just for development and hence in 'contrib', and not built by
default. For details, see the included README
Change-Id: I0190872dd282bcfe0f97bb4f8ab8d09023f9f06b
Diffstat (limited to 'contrib/trau2rtp/Makefile')
-rw-r--r-- | contrib/trau2rtp/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/trau2rtp/Makefile b/contrib/trau2rtp/Makefile new file mode 100644 index 0000000..cfb68be --- /dev/null +++ b/contrib/trau2rtp/Makefile @@ -0,0 +1,13 @@ +CFLAGS := -Wall `pkg-config --cflags libosmocore libosmogsm libosmotrau` +LIBS := `pkg-config --libs libosmocore libosmogsm libosmotrau` + +all: trau2rtp + +%.o: %.c + $(CC) $(CFLAGS) -o $@ -c $^ + +trau2rtp: trau2rtp.o + $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) + +clean: + @rm -f *.o trau2rtp |