view efrtest/Makefile @ 100:d5bab777865a

gsmefr-decode utility written
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 26 Nov 2022 22:07:55 +0000
parents 9cf1355bc071
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}