diff tone-detect/Makefile @ 11:2cdbd574bba6

tone-detect/Makefile: add install
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 11 Mar 2024 12:18:49 -0800
parents ff535725e01f
children f7321b25195e
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