FreeCalypso > hg > vband-misc
view pcma2efr/Makefile @ 38:e96e8d8973c0
ul-test: generate hex include files for PCMU
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 14 May 2024 05:36:38 +0000 |
parents | dd9a9368009e |
children |
line wrap: on
line source
CC= gcc CFLAGS= -O2 PROGS= comb-diff comb-out dhf-check pcma-input FILES= all-outputs.gsmx all-outputs.inc pcma-input.bin COMB_DIFF_OBJS= alaw-expand.o comb-diff.o gen-amr-2fr.o gen-efr.o gen160.o \ seqsynca.o COMB_OUT_OBJS= alaw-expand.o comb-out.o gen-amr-2fr.o gen-efr.o gen160.o \ seqsynca.o DHF_CHECK_OBJS= alaw-expand.o dhf-check.o gen-amr-2fr.o gen-efr.o gen160.o \ seqsynca.o PCMA_IN_OBJS= pcma-input.o seqsynca.o all: ${PROGS} ${FILES} comb-diff: ${COMB_DIFF_OBJS} ${CC} ${CFLAGS} -o $@ ${COMB_DIFF_OBJS} -lgsmefr -ltwamr comb-out: ${COMB_OUT_OBJS} ${CC} ${CFLAGS} -o $@ ${COMB_OUT_OBJS} -lgsmefr -ltwamr dhf-check: ${DHF_CHECK_OBJS} ${CC} ${CFLAGS} -o $@ ${DHF_CHECK_OBJS} -lgsmefr -ltwamr pcma-input: ${PCMA_IN_OBJS} ${CC} ${CFLAGS} -o $@ ${PCMA_IN_OBJS} # data outputs all-outputs.gsmx: comb-out ./comb-out $@ all-outputs.inc: all-outputs.gsmx ../utils/gen-hex-c all-outputs.gsmx $@ pcma-input.bin: pcma-input ./pcma-input $@ clean: rm -f *.o ${PROGS} *.bin *.gsmx *.inc