view pcap/Makefile @ 170:b9af126bfddb

rtp-cont-check utility written
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 26 Dec 2022 21:24:00 +0000
parents 39dbaccc349d
children 693a0958a303
line wrap: on
line source

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

all:	${PROGS}

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

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

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

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