view dev/Makefile @ 223:3afbc6c64172

dev/s2a-regen.c: printf format to match original table
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 23 Apr 2023 04:14:24 +0000
parents 842136bbd0da
children b502321000aa
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	efr-bit-packing efr-sid-insert efr-tidsp gsm0611-silence-fr s2a-regen
DATAOUT=efr-bit-packing.out efr-sid-insert.out efr-tidsp.out \
	gsm0611-silence-fr.out s2a-regen.out

all:	${PROGS} ${DATAOUT}

efr-bit-packing:	efr-bit-packing.c
	${CC} ${CFLAGS} -o $@ $@.c

efr-bit-packing.out:	efr-bit-packing
	./efr-bit-packing > $@

efr-sid-insert:		efr-sid-insert.c
	${CC} ${CFLAGS} -o $@ $@.c

efr-sid-insert.out:	efr-sid-insert
	./efr-sid-insert > $@

efr-tidsp:	efr-tidsp.c
	${CC} ${CFLAGS} -o $@ $@.c

efr-tidsp.out:	efr-tidsp
	./efr-tidsp > $@

gsm0611-silence-fr:	gsm0611-silence-fr.c
	${CC} ${CFLAGS} -o $@ $@.c -lgsm

gsm0611-silence-fr.out:	gsm0611-silence-fr
	./gsm0611-silence-fr > $@

s2a-regen:	s2a-regen.c
	${CC} ${CFLAGS} -o $@ $@.c

s2a-regen.out:	s2a-regen
	./s2a-regen > $@

clean:
	rm -f *.o *.out ${PROGS}