view pcap/Makefile @ 20:93ed41fb4038

libgsmfrp/Makefile: add install
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 20 Nov 2022 06:36:09 +0000
parents 39dbaccc349d
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}