view efrtest/Makefile @ 96:9cf1355bc071

gsmefr-etsi-dec test program written
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 26 Nov 2022 19:55:59 +0000
parents 89945a3b576e
children d5bab777865a
line wrap: on
line source

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

all:	${PROGS}

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}