diff 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
line wrap: on
line diff
--- a/utils/Makefile	Sat Mar 11 23:48:14 2023 -0800
+++ b/utils/Makefile	Sun Mar 12 00:14:20 2023 -0800
@@ -3,12 +3,17 @@
 PROGS=	sip-out-test sip-rx-test sip-udp-dump themwi-check-own \
 	themwi-dump-numdb themwi-short-dial themwi-update-numdb \
 	themwi-update-outrt
+NOINST=	rtp-alloc-test
 LIBNUMDB=../libnumdb/libnumdb.a
+LIBRTPA=../librtpalloc/librtpalloc.a
 LIBSIP=	../libsip/libsip.a
 LIBUTIL=../libutil/libutil.a
 INSTBIN=/usr/local/bin
 
-all:	${PROGS}
+all:	${PROGS} ${NOINST}
+
+rtp-alloc-test:	rtp-alloc-test.o ${LIBRTPA} ${LIBUTIL}
+	${CC} ${CFLAGS} -o $@ $@.o ${LIBRTPA} ${LIBUTIL}
 
 sip-out-test:	sip-out-test.c
 	${CC} ${CFLAGS} -o $@ $@.c
@@ -38,4 +43,4 @@
 	install -c -o bin -g bin -m 755 ${PROGS} ${INSTBIN}
 
 clean:
-	rm -f *.o ${PROGS} errs
+	rm -f *.o ${PROGS} ${NOINST} errs