FreeCalypso > hg > gsm-codec-lib
diff 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 diff
--- a/pcap/Makefile Sun Nov 20 04:23:35 2022 +0000 +++ b/pcap/Makefile Sun Nov 20 04:24:25 2022 +0000 @@ -1,11 +1,16 @@ 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}