view efrtest/Makefile @ 102:dd88f9312170

gsm-amr2efr: forgot about AMR file header
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 27 Nov 2022 05:20:08 +0000
parents d5bab777865a
children ff0372186b59
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	gsmefr-decode gsmefr-etsi-dec gsmefr-rec2etsi
LIBEFR=	../libgsmefr/libgsmefr.a
LIBTEST=../libtest/libtest.a
INSTBIN=/opt/freecalypso/bin

all:	${PROGS}

gsmefr-decode:	decode.o ${LIBTEST} ${LIBEFR}
	${CC} ${CFLAGS} -o $@ decode.o ${LIBTEST} ${LIBEFR}

gsmefr-etsi-dec:	etsi-dec.o ${LIBEFR}
	${CC} ${CFLAGS} -o $@ etsi-dec.o ${LIBEFR}

gsmefr-rec2etsi:	rec2etsi.o ${LIBTEST} ${LIBEFR}
	${CC} ${CFLAGS} -o $@ rec2etsi.o ${LIBTEST} ${LIBEFR}

install:
	mkdir -p ${INSTBIN}
	install -c ${PROGS} ${INSTBIN}

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