FreeCalypso > hg > sipout-test-utils
annotate tone-detect/Makefile @ 13:059b79c9f0c3
sipout-test-voice: add DMW output mode
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 07 Apr 2024 17:09:32 -0800 |
parents | 2cdbd574bba6 |
children | f7321b25195e |
rev | line source |
---|---|
9
ff535725e01f
g711-tone-detect program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
ff535725e01f
g711-tone-detect program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
ff535725e01f
g711-tone-detect program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 PROG= g711-tone-detect |
11
2cdbd574bba6
tone-detect/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
9
diff
changeset
|
4 INSTBIN=/opt/themwi/bin |
9
ff535725e01f
g711-tone-detect program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
ff535725e01f
g711-tone-detect program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 all: ${PROG} |
ff535725e01f
g711-tone-detect program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
ff535725e01f
g711-tone-detect program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 ${PROG}: ${PROG}.c |
ff535725e01f
g711-tone-detect program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 ${CC} ${CFLAGS} -o $@ $@.c -lspandsp -lm |
ff535725e01f
g711-tone-detect program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
ff535725e01f
g711-tone-detect program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 install: |
11
2cdbd574bba6
tone-detect/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
9
diff
changeset
|
12 install -c -m 755 ${PROG} ${INSTBIN} |
9
ff535725e01f
g711-tone-detect program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
ff535725e01f
g711-tone-detect program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 clean: |
ff535725e01f
g711-tone-detect program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 rm -f *.o ${PROG} errs |