comparison 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
comparison
equal deleted inserted replaced
10:3c5734b88c20 11:2cdbd574bba6
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROG= g711-tone-detect 3 PROG= g711-tone-detect
4 INSTBIN=/opt/themwi/bin
4 5
5 all: ${PROG} 6 all: ${PROG}
6 7
7 ${PROG}: ${PROG}.c 8 ${PROG}: ${PROG}.c
8 ${CC} ${CFLAGS} -o $@ $@.c -lspandsp -lm 9 ${CC} ${CFLAGS} -o $@ $@.c -lspandsp -lm
9 10
10 install: 11 install:
12 install -c -m 755 ${PROG} ${INSTBIN}
11 13
12 clean: 14 clean:
13 rm -f *.o ${PROG} errs 15 rm -f *.o ${PROG} errs