comparison pcap-study/Makefile @ 10:e686bc92c7d8

revamp for new subdir structure and configure script
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 15 May 2024 01:44:46 +0000
parents Makefile@c00510e1ae8b
children 96b37cef5020
comparison
equal deleted inserted replaced
9:c00510e1ae8b 10:e686bc92c7d8
1 PROGS= rtp-cont-check rtp-g711-extr rtp-gsmfr-dump rtp-gsmfr-extr \
2 rtp-jitter-view rtp-stream-dump rtp-tfo-trace
3
4 include ../config.defs
5
6 all: ${PROGS}
7
8 rtp-cont-check: rtp-cont-check.c
9 ${CC} ${CFLAGS} -o $@ $@.c -lpcap
10
11 rtp-g711-extr: rtp-g711-extr.c
12 ${CC} ${CFLAGS} -o $@ $@.c -lpcap
13
14 rtp-gsmfr-dump: rtp-gsmfr-dump.c
15 ${CC} ${CFLAGS} -o $@ $@.c -lpcap -lgsmefr -lgsm
16
17 rtp-gsmfr-extr: rtp-gsmfr-extr.c
18 ${CC} ${CFLAGS} -o $@ $@.c -lpcap
19
20 rtp-jitter-view: rtp-jitter-view.c
21 ${CC} ${CFLAGS} -o $@ $@.c -lpcap
22
23 rtp-stream-dump: rtp-stream-dump.c
24 ${CC} ${CFLAGS} -o $@ $@.c -lpcap
25
26 rtp-tfo-trace: rtp-tfo-trace.c
27 ${CC} ${CFLAGS} -o $@ $@.c -lpcap
28
29 install:
30 mkdir -p ${DESTDIR}${bindir}
31 install -c ${PROGS} ${DESTDIR}${bindir}
32
33 clean:
34 rm -f *.o *.out ${PROGS}