comparison dev/Makefile @ 35:3b5958f28a40

dev: efr-sid-insert helper program
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 24 Nov 2022 02:35:02 +0000
parents 9639a44ae2e7
children 68215020852b
comparison
equal deleted inserted replaced
34:69b9cbca075b 35:3b5958f28a40
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= efr-bit-packing gsm0611-silence-fr 3 PROGS= efr-bit-packing efr-sid-insert gsm0611-silence-fr
4 DATAOUT=efr-bit-packing.out gsm0611-silence-fr.out 4 DATAOUT=efr-bit-packing.out efr-sid-insert.out gsm0611-silence-fr.out
5 5
6 all: ${PROGS} ${DATAOUT} 6 all: ${PROGS} ${DATAOUT}
7 7
8 efr-bit-packing: efr-bit-packing.c 8 efr-bit-packing: efr-bit-packing.c
9 ${CC} ${CFLAGS} -o $@ $@.c 9 ${CC} ${CFLAGS} -o $@ $@.c
10 10
11 efr-bit-packing.out: efr-bit-packing 11 efr-bit-packing.out: efr-bit-packing
12 ./efr-bit-packing > $@ 12 ./efr-bit-packing > $@
13 13
14 efr-sid-insert: efr-sid-insert.c
15 ${CC} ${CFLAGS} -o $@ $@.c
16
17 efr-sid-insert.out: efr-sid-insert
18 ./efr-sid-insert > $@
19
14 gsm0611-silence-fr: gsm0611-silence-fr.c 20 gsm0611-silence-fr: gsm0611-silence-fr.c
15 ${CC} ${CFLAGS} -o $@ $@.c -lgsm 21 ${CC} ${CFLAGS} -o $@ $@.c -lgsm
16 22
17 gsm0611-silence-fr.out: gsm0611-silence-fr 23 gsm0611-silence-fr.out: gsm0611-silence-fr
18 ./gsm0611-silence-fr > $@ 24 ./gsm0611-silence-fr > $@