view Makefile @ 9:c00510e1ae8b

new program udp-test-sink
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 10 Mar 2024 02:27:37 +0000
parents d180987db615
children e686bc92c7d8
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 \
	udp-test-sink
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

udp-test-sink:	udp-test-sink.c
	${CC} ${CFLAGS} -o $@ $@.c

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

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