comparison efrtest/Makefile @ 453:19f1aa01ea10

new approach to config & build for ThemWi software
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 10 May 2024 05:45:46 +0000
parents e80632ccb745
children cb1d1ea7f2c5
comparison
equal deleted inserted replaced
452:6e595f7d40e2 453:19f1aa01ea10
1 CC= gcc
2 CFLAGS= -O2
3 PROGS= gsmefr-cod-parse gsmefr-cod2gsmx gsmefr-dec-parse gsmefr-decode \ 1 PROGS= gsmefr-cod-parse gsmefr-cod2gsmx gsmefr-dec-parse gsmefr-decode \
4 gsmefr-decode-r gsmefr-dlcap-dec gsmefr-dlcap-gsmx gsmefr-dlcap-parse \ 2 gsmefr-decode-r gsmefr-dlcap-dec gsmefr-dlcap-gsmx gsmefr-dlcap-parse \
5 gsmefr-encode gsmefr-encode-r gsmefr-etsi-dec gsmefr-etsi-enc \ 3 gsmefr-encode gsmefr-encode-r gsmefr-etsi-dec gsmefr-etsi-enc \
6 gsmefr-rec2etsi 4 gsmefr-rec2etsi
7 LIBEFR= ../libgsmefr/libgsmefr.a 5 LIBEFR= ../libgsmefr/libgsmefr.a
8 LIBTEST=../libtest/libtest.a 6 LIBTEST=../libtest/libtest.a
9 INSTBIN=/opt/freecalypso/bin 7
8 include ../config.defs
9 INSTBIN=${DESTDIR}${PREFIX}/bin
10 10
11 all: ${PROGS} 11 all: ${PROGS}
12 12
13 gsmefr-cod-parse: cod-parse.o etsi-bit-rd.o ${LIBEFR} 13 gsmefr-cod-parse: cod-parse.o etsi-bit-rd.o ${LIBEFR}
14 ${CC} ${CFLAGS} -o $@ $^ 14 ${CC} ${CFLAGS} -o $@ $^