comparison tone-detect/Makefile @ 18:f7321b25195e default tip

new build system for ThemWi sw components
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 14 May 2024 18:08:35 -0800
parents 2cdbd574bba6
children
comparison
equal deleted inserted replaced
17:830af7de3403 18:f7321b25195e
1 CC= gcc
2 CFLAGS= -O2
3 PROG= g711-tone-detect 1 PROG= g711-tone-detect
4 INSTBIN=/opt/themwi/bin 2
3 include ../config.defs
5 4
6 all: ${PROG} 5 all: ${PROG}
7 6
8 ${PROG}: ${PROG}.c 7 ${PROG}: ${PROG}.c
9 ${CC} ${CFLAGS} -o $@ $@.c -lspandsp -lm 8 ${CC} ${CFLAGS} -o $@ $@.c -lspandsp -lm
10 9
11 install: 10 install:
12 install -c -m 755 ${PROG} ${INSTBIN} 11 mkdir -p ${DESTDIR}${bindir}
12 install -c -m 755 ${PROG} ${DESTDIR}${bindir}
13 13
14 clean: 14 clean:
15 rm -f *.o ${PROG} errs 15 rm -f *.o ${PROG} errs