view pcap/Makefile @ 207:10f11a2d4042

pcap utils: fix bug in the case of RTP timestamp 16-bit rollover
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 17 Feb 2023 19:56:45 +0000
parents 9bd01faadaed
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	rtp-cont-check rtp-g711-extr rtp-gsmfr-extr rtp-jitter-view
INSTBIN=/opt/freecalypso/bin

all:	${PROGS}

rtp-cont-check:	rtp-cont-check.c
	${CC} ${CFLAGS} -o $@ $@.c -lpcap

rtp-g711-extr:	rtp-g711-extr.c
	${CC} ${CFLAGS} -o $@ $@.c -lpcap

rtp-gsmfr-extr:	rtp-gsmfr-extr.c
	${CC} ${CFLAGS} -o $@ $@.c -lpcap

rtp-jitter-view:	rtp-jitter-view.c
	${CC} ${CFLAGS} -o $@ $@.c -lpcap

install:
	mkdir -p ${INSTBIN}
	install -c ${PROGS} ${INSTBIN}

clean:
	rm -f *.o *.out ${PROGS}