view 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 source

CC=	gcc
CFLAGS=	-O2
PROG=	g711-tone-detect
INSTBIN=/opt/themwi/bin

all:	${PROG}

${PROG}:	${PROG}.c
	${CC} ${CFLAGS} -o $@ $@.c -lspandsp -lm

install:
	install -c -m 755 ${PROG} ${INSTBIN}

clean:
	rm -f *.o ${PROG} errs