comparison efrtest/Makefile @ 460:cb1d1ea7f2c5

new build system: accept more directory options
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 10 May 2024 23:04:44 +0000
parents 19f1aa01ea10
children 4104b0390fab
comparison
equal deleted inserted replaced
459:b094bc07051a 460:cb1d1ea7f2c5
4 gsmefr-rec2etsi 4 gsmefr-rec2etsi
5 LIBEFR= ../libgsmefr/libgsmefr.a 5 LIBEFR= ../libgsmefr/libgsmefr.a
6 LIBTEST=../libtest/libtest.a 6 LIBTEST=../libtest/libtest.a
7 7
8 include ../config.defs 8 include ../config.defs
9 INSTBIN=${DESTDIR}${PREFIX}/bin
10 9
11 all: ${PROGS} 10 all: ${PROGS}
12 11
13 gsmefr-cod-parse: cod-parse.o etsi-bit-rd.o ${LIBEFR} 12 gsmefr-cod-parse: cod-parse.o etsi-bit-rd.o ${LIBEFR}
14 ${CC} ${CFLAGS} -o $@ $^ 13 ${CC} ${CFLAGS} -o $@ $^
48 47
49 gsmefr-rec2etsi: rec2etsi.o ${LIBTEST} ${LIBEFR} 48 gsmefr-rec2etsi: rec2etsi.o ${LIBTEST} ${LIBEFR}
50 ${CC} ${CFLAGS} -o $@ $^ 49 ${CC} ${CFLAGS} -o $@ $^
51 50
52 install: 51 install:
53 mkdir -p ${INSTBIN} 52 mkdir -p ${DESTDIR}${bindir}
54 install -c ${PROGS} ${INSTBIN} 53 install -c ${PROGS} ${DESTDIR}${bindir}
55 54
56 clean: 55 clean:
57 rm -f *.o *.out ${PROGS} 56 rm -f *.o *.out ${PROGS}