diff Makefile @ 0:05ff0f7ac977

initial commit: split from gsm-codec-lib
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 02 Apr 2023 00:28:28 +0000
parents
children 41eba040785a
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Sun Apr 02 00:28:28 2023 +0000
@@ -0,0 +1,25 @@
+CC=	gcc
+CFLAGS=	-O2
+PROGS=	rtp-cont-check rtp-g711-extr rtp-gsmfr-extr rtp-jitter-view
+INSTBIN=/opt/freecalypso/bin
+
+all:	${PROGS}
+
+rtp-cont-check:	rtp-cont-check.c
+	${CC} ${CFLAGS} -o $@ $@.c -lpcap
+
+rtp-g711-extr:	rtp-g711-extr.c
+	${CC} ${CFLAGS} -o $@ $@.c -lpcap
+
+rtp-gsmfr-extr:	rtp-gsmfr-extr.c
+	${CC} ${CFLAGS} -o $@ $@.c -lpcap
+
+rtp-jitter-view:	rtp-jitter-view.c
+	${CC} ${CFLAGS} -o $@ $@.c -lpcap
+
+install:
+	mkdir -p ${INSTBIN}
+	install -c ${PROGS} ${INSTBIN}
+
+clean:
+	rm -f *.o *.out ${PROGS}