comparison utils/Makefile @ 185:857d78c58f56

rtp-alloc-test program written
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 12 Mar 2023 00:14:20 -0800
parents 5c7109183c8c
children 67289fac8a44
comparison
equal deleted inserted replaced
184:f8c40090a0a8 185:857d78c58f56
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= sip-out-test sip-rx-test sip-udp-dump themwi-check-own \ 3 PROGS= sip-out-test sip-rx-test sip-udp-dump themwi-check-own \
4 themwi-dump-numdb themwi-short-dial themwi-update-numdb \ 4 themwi-dump-numdb themwi-short-dial themwi-update-numdb \
5 themwi-update-outrt 5 themwi-update-outrt
6 NOINST= rtp-alloc-test
6 LIBNUMDB=../libnumdb/libnumdb.a 7 LIBNUMDB=../libnumdb/libnumdb.a
8 LIBRTPA=../librtpalloc/librtpalloc.a
7 LIBSIP= ../libsip/libsip.a 9 LIBSIP= ../libsip/libsip.a
8 LIBUTIL=../libutil/libutil.a 10 LIBUTIL=../libutil/libutil.a
9 INSTBIN=/usr/local/bin 11 INSTBIN=/usr/local/bin
10 12
11 all: ${PROGS} 13 all: ${PROGS} ${NOINST}
14
15 rtp-alloc-test: rtp-alloc-test.o ${LIBRTPA} ${LIBUTIL}
16 ${CC} ${CFLAGS} -o $@ $@.o ${LIBRTPA} ${LIBUTIL}
12 17
13 sip-out-test: sip-out-test.c 18 sip-out-test: sip-out-test.c
14 ${CC} ${CFLAGS} -o $@ $@.c 19 ${CC} ${CFLAGS} -o $@ $@.c
15 20
16 sip-rx-test: sip-rx-test.o ${LIBSIP} 21 sip-rx-test: sip-rx-test.o ${LIBSIP}
36 41
37 install: 42 install:
38 install -c -o bin -g bin -m 755 ${PROGS} ${INSTBIN} 43 install -c -o bin -g bin -m 755 ${PROGS} ${INSTBIN}
39 44
40 clean: 45 clean:
41 rm -f *.o ${PROGS} errs 46 rm -f *.o ${PROGS} ${NOINST} errs