FreeCalypso > hg > gsm-codec-lib
annotate dev/Makefile @ 32:9639a44ae2e7
dev: efr-bit-packing helper program
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 24 Nov 2022 01:41:49 +0000 |
parents | 6780b23654bd |
children | 3b5958f28a40 |
rev | line source |
---|---|
1
6780b23654bd
libgsmfrp: starting with the silence frame
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
6780b23654bd
libgsmfrp: starting with the silence frame
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
32
9639a44ae2e7
dev: efr-bit-packing helper program
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
3 PROGS= efr-bit-packing gsm0611-silence-fr |
9639a44ae2e7
dev: efr-bit-packing helper program
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
4 DATAOUT=efr-bit-packing.out gsm0611-silence-fr.out |
1
6780b23654bd
libgsmfrp: starting with the silence frame
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
6780b23654bd
libgsmfrp: starting with the silence frame
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 all: ${PROGS} ${DATAOUT} |
6780b23654bd
libgsmfrp: starting with the silence frame
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
32
9639a44ae2e7
dev: efr-bit-packing helper program
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
8 efr-bit-packing: efr-bit-packing.c |
9639a44ae2e7
dev: efr-bit-packing helper program
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
9 ${CC} ${CFLAGS} -o $@ $@.c |
9639a44ae2e7
dev: efr-bit-packing helper program
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
10 |
9639a44ae2e7
dev: efr-bit-packing helper program
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
11 efr-bit-packing.out: efr-bit-packing |
9639a44ae2e7
dev: efr-bit-packing helper program
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
12 ./efr-bit-packing > $@ |
9639a44ae2e7
dev: efr-bit-packing helper program
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
13 |
1
6780b23654bd
libgsmfrp: starting with the silence frame
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 gsm0611-silence-fr: gsm0611-silence-fr.c |
6780b23654bd
libgsmfrp: starting with the silence frame
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 ${CC} ${CFLAGS} -o $@ $@.c -lgsm |
6780b23654bd
libgsmfrp: starting with the silence frame
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 |
6780b23654bd
libgsmfrp: starting with the silence frame
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 gsm0611-silence-fr.out: gsm0611-silence-fr |
6780b23654bd
libgsmfrp: starting with the silence frame
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 ./gsm0611-silence-fr > $@ |
6780b23654bd
libgsmfrp: starting with the silence frame
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 |
6780b23654bd
libgsmfrp: starting with the silence frame
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 clean: |
6780b23654bd
libgsmfrp: starting with the silence frame
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 rm -f *.o *.out ${PROGS} |