view pcap/Makefile @ 18:39dbaccc349d

pcap/Makefile: add install
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 20 Nov 2022 04:24:25 +0000
parents 851ca64e38e9
children b9af126bfddb
line wrap: on
line source

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

all:	${PROGS}

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}