FreeCalypso > hg > sipout-test-utils
annotate 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 |
| rev | line source |
|---|---|
|
9
ff535725e01f
g711-tone-detect program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 PROG= g711-tone-detect |
|
18
f7321b25195e
new build system for ThemWi sw components
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
2 |
|
f7321b25195e
new build system for ThemWi sw components
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
3 include ../config.defs |
|
9
ff535725e01f
g711-tone-detect program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 |
|
ff535725e01f
g711-tone-detect program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 all: ${PROG} |
|
ff535725e01f
g711-tone-detect program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
|
ff535725e01f
g711-tone-detect program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 ${PROG}: ${PROG}.c |
|
ff535725e01f
g711-tone-detect program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 ${CC} ${CFLAGS} -o $@ $@.c -lspandsp -lm |
|
ff535725e01f
g711-tone-detect program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
|
ff535725e01f
g711-tone-detect program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 install: |
|
18
f7321b25195e
new build system for ThemWi sw components
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
11 mkdir -p ${DESTDIR}${bindir} |
|
f7321b25195e
new build system for ThemWi sw components
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
12 install -c -m 755 ${PROG} ${DESTDIR}${bindir} |
|
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 |
