FreeCalypso > hg > gsm-codec-lib
view frtest/Makefile @ 17:68a7e86c9868
frtest/Makefile: add install
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 20 Nov 2022 04:23:35 +0000 |
parents | 69ed7af28473 |
children | 7960744ba19c |
line wrap: on
line source
CC= gcc CFLAGS= -O2 PROGS= gsmfr-decode gsmfr-encode LIBPP= ../libgsmfrp/libgsmfrp.a LIBTEST=../libtest/libtest.a LIBDEC= ${LIBTEST} ${LIBPP} INSTBIN=/opt/freecalypso/bin all: ${PROGS} gsmfr-decode: decode.o ${LIBDEC} ${CC} ${CFLAGS} -o $@ decode.o ${LIBDEC} -lgsm gsmfr-encode: encode.o ${LIBTEST} ${CC} ${CFLAGS} -o $@ encode.o ${LIBTEST} -lgsm install: mkdir -p ${INSTBIN} install -c ${PROGS} ${INSTBIN} clean: rm -f *.o *.out ${PROGS}