comparison 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
comparison
equal deleted inserted replaced
13:30d1d0a705c0 14:69ed7af28473
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= gsmfr-decode 3 PROGS= gsmfr-decode gsmfr-encode
4 LIBS= ../libtest/libtest.a ../libgsmfrp/libgsmfrp.a 4 LIBPP= ../libgsmfrp/libgsmfrp.a
5 LIBTEST=../libtest/libtest.a
6 LIBDEC= ${LIBTEST} ${LIBPP}
5 7
6 all: ${PROGS} 8 all: ${PROGS}
7 9
8 gsmfr-decode: decode.o ${LIBS} 10 gsmfr-decode: decode.o ${LIBDEC}
9 ${CC} ${CFLAGS} -o $@ decode.o ${LIBS} -lgsm 11 ${CC} ${CFLAGS} -o $@ decode.o ${LIBDEC} -lgsm
12
13 gsmfr-encode: encode.o ${LIBTEST}
14 ${CC} ${CFLAGS} -o $@ encode.o ${LIBTEST} -lgsm
10 15
11 clean: 16 clean:
12 rm -f *.o *.out ${PROGS} 17 rm -f *.o *.out ${PROGS}