FreeCalypso > hg > gsm-codec-lib
annotate 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 |
rev | line source |
---|---|
15
851ca64e38e9
rtp-gsmfr-extr program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
851ca64e38e9
rtp-gsmfr-extr program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
170
b9af126bfddb
rtp-cont-check utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
18
diff
changeset
|
3 PROGS= rtp-cont-check rtp-gsmfr-extr |
18
39dbaccc349d
pcap/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
15
diff
changeset
|
4 INSTBIN=/opt/freecalypso/bin |
15
851ca64e38e9
rtp-gsmfr-extr program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
851ca64e38e9
rtp-gsmfr-extr program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 all: ${PROGS} |
851ca64e38e9
rtp-gsmfr-extr program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
170
b9af126bfddb
rtp-cont-check utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
18
diff
changeset
|
8 rtp-cont-check: rtp-cont-check.c |
b9af126bfddb
rtp-cont-check utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
18
diff
changeset
|
9 ${CC} ${CFLAGS} -o $@ $@.c -lpcap |
b9af126bfddb
rtp-cont-check utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
18
diff
changeset
|
10 |
15
851ca64e38e9
rtp-gsmfr-extr program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 rtp-gsmfr-extr: rtp-gsmfr-extr.c |
851ca64e38e9
rtp-gsmfr-extr program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 ${CC} ${CFLAGS} -o $@ $@.c -lpcap |
851ca64e38e9
rtp-gsmfr-extr program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
18
39dbaccc349d
pcap/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
15
diff
changeset
|
14 install: |
39dbaccc349d
pcap/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
15
diff
changeset
|
15 mkdir -p ${INSTBIN} |
39dbaccc349d
pcap/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
15
diff
changeset
|
16 install -c ${PROGS} ${INSTBIN} |
39dbaccc349d
pcap/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
15
diff
changeset
|
17 |
15
851ca64e38e9
rtp-gsmfr-extr program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 clean: |
851ca64e38e9
rtp-gsmfr-extr program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 rm -f *.o *.out ${PROGS} |