# HG changeset patch # User Mychaela Falconia # Date 1668918265 0 # Node ID 39dbaccc349da84f0aedf4971d0b472892420801 # Parent 68a7e86c986802eb1b5d91767e4e3cf72700ab13 pcap/Makefile: add install diff -r 68a7e86c9868 -r 39dbaccc349d pcap/Makefile --- 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}