FreeCalypso > hg > gsm-codec-lib
diff frtest/Makefile @ 14:69ed7af28473
gsmfr-encode test program written
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 20 Nov 2022 01:54:10 +0000 |
parents | f88817a233fb |
children | 68a7e86c9868 |
line wrap: on
line diff
--- a/frtest/Makefile Sun Nov 20 01:34:57 2022 +0000 +++ b/frtest/Makefile Sun Nov 20 01:54:10 2022 +0000 @@ -1,12 +1,17 @@ CC= gcc CFLAGS= -O2 -PROGS= gsmfr-decode -LIBS= ../libtest/libtest.a ../libgsmfrp/libgsmfrp.a +PROGS= gsmfr-decode gsmfr-encode +LIBPP= ../libgsmfrp/libgsmfrp.a +LIBTEST=../libtest/libtest.a +LIBDEC= ${LIBTEST} ${LIBPP} all: ${PROGS} -gsmfr-decode: decode.o ${LIBS} - ${CC} ${CFLAGS} -o $@ decode.o ${LIBS} -lgsm +gsmfr-decode: decode.o ${LIBDEC} + ${CC} ${CFLAGS} -o $@ decode.o ${LIBDEC} -lgsm + +gsmfr-encode: encode.o ${LIBTEST} + ${CC} ${CFLAGS} -o $@ encode.o ${LIBTEST} -lgsm clean: rm -f *.o *.out ${PROGS}