comparison Makefile @ 9:c00510e1ae8b

new program udp-test-sink
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 10 Mar 2024 02:27:37 +0000
parents d180987db615
children e686bc92c7d8
comparison
equal deleted inserted replaced
8:d180987db615 9:c00510e1ae8b
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= rtp-cont-check rtp-g711-extr rtp-gsmfr-dump rtp-gsmfr-extr \ 3 PROGS= rtp-cont-check rtp-g711-extr rtp-gsmfr-dump rtp-gsmfr-extr \
4 rtp-jitter-view rtp-stream-dump rtp-stream-gen rtp-tfo-trace 4 rtp-jitter-view rtp-stream-dump rtp-stream-gen rtp-tfo-trace \
5 udp-test-sink
5 INSTBIN=/opt/freecalypso/bin 6 INSTBIN=/opt/freecalypso/bin
6 7
7 all: ${PROGS} 8 all: ${PROGS}
8 9
9 rtp-cont-check: rtp-cont-check.c 10 rtp-cont-check: rtp-cont-check.c
28 ${CC} ${CFLAGS} -o $@ $@.c 29 ${CC} ${CFLAGS} -o $@ $@.c
29 30
30 rtp-tfo-trace: rtp-tfo-trace.c 31 rtp-tfo-trace: rtp-tfo-trace.c
31 ${CC} ${CFLAGS} -o $@ $@.c -lpcap 32 ${CC} ${CFLAGS} -o $@ $@.c -lpcap
32 33
34 udp-test-sink: udp-test-sink.c
35 ${CC} ${CFLAGS} -o $@ $@.c
36
33 install: 37 install:
34 mkdir -p ${INSTBIN} 38 mkdir -p ${INSTBIN}
35 install -c ${PROGS} ${INSTBIN} 39 install -c ${PROGS} ${INSTBIN}
36 40
37 clean: 41 clean: