FreeCalypso > hg > sipout-test-utils
annotate 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 |
| 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 |
