comparison dev/Makefile @ 222:842136bbd0da

dev: new program s2a-regen
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 23 Apr 2023 04:09:24 +0000
parents 68215020852b
children b502321000aa
comparison
equal deleted inserted replaced
221:6555dae764b3 222:842136bbd0da
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= efr-bit-packing efr-sid-insert efr-tidsp gsm0611-silence-fr 3 PROGS= efr-bit-packing efr-sid-insert efr-tidsp gsm0611-silence-fr s2a-regen
4 DATAOUT=efr-bit-packing.out efr-sid-insert.out efr-tidsp.out \ 4 DATAOUT=efr-bit-packing.out efr-sid-insert.out efr-tidsp.out \
5 gsm0611-silence-fr.out 5 gsm0611-silence-fr.out s2a-regen.out
6 6
7 all: ${PROGS} ${DATAOUT} 7 all: ${PROGS} ${DATAOUT}
8 8
9 efr-bit-packing: efr-bit-packing.c 9 efr-bit-packing: efr-bit-packing.c
10 ${CC} ${CFLAGS} -o $@ $@.c 10 ${CC} ${CFLAGS} -o $@ $@.c
28 ${CC} ${CFLAGS} -o $@ $@.c -lgsm 28 ${CC} ${CFLAGS} -o $@ $@.c -lgsm
29 29
30 gsm0611-silence-fr.out: gsm0611-silence-fr 30 gsm0611-silence-fr.out: gsm0611-silence-fr
31 ./gsm0611-silence-fr > $@ 31 ./gsm0611-silence-fr > $@
32 32
33 s2a-regen: s2a-regen.c
34 ${CC} ${CFLAGS} -o $@ $@.c
35
36 s2a-regen.out: s2a-regen
37 ./s2a-regen > $@
38
33 clean: 39 clean:
34 rm -f *.o *.out ${PROGS} 40 rm -f *.o *.out ${PROGS}