changeset 11:2cdbd574bba6

tone-detect/Makefile: add install
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 11 Mar 2024 12:18:49 -0800
parents 3c5734b88c20
children 372be50488d6
files tone-detect/Makefile
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tone-detect/Makefile	Thu Mar 07 02:33:49 2024 -0800
+++ b/tone-detect/Makefile	Mon Mar 11 12:18:49 2024 -0800
@@ -1,6 +1,7 @@
 CC=	gcc
 CFLAGS=	-O2
 PROG=	g711-tone-detect
+INSTBIN=/opt/themwi/bin
 
 all:	${PROG}
 
@@ -8,6 +9,7 @@
 	${CC} ${CFLAGS} -o $@ $@.c -lspandsp -lm
 
 install:
+	install -c -m 755 ${PROG} ${INSTBIN}
 
 clean:
 	rm -f *.o ${PROG} errs