view Makefile @ 8:d180987db615

new program rtp-stream-gen
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 07 Mar 2024 22:39:41 +0000
parents 709aa9ad72d1
children c00510e1ae8b
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	rtp-cont-check rtp-g711-extr rtp-gsmfr-dump rtp-gsmfr-extr \
	rtp-jitter-view rtp-stream-dump rtp-stream-gen rtp-tfo-trace
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-dump:	rtp-gsmfr-dump.c
	${CC} ${CFLAGS} -o $@ $@.c -lpcap -lgsmefr -lgsm

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

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

rtp-stream-dump:	rtp-stream-dump.c
	${CC} ${CFLAGS} -o $@ $@.c -lpcap

rtp-stream-gen:	rtp-stream-gen.c
	${CC} ${CFLAGS} -o $@ $@.c

rtp-tfo-trace:	rtp-tfo-trace.c
	${CC} ${CFLAGS} -o $@ $@.c -lpcap

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

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