comparison miscutil/Makefile @ 46:edd2e20e7090

gsmrec-dump: decode EFR frames
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 25 Nov 2022 03:06:03 +0000
parents baadb1cb744d
children d86f866489e9
comparison
equal deleted inserted replaced
45:4ae1dd43e332 46:edd2e20e7090
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= gsmrec-dump 3 PROGS= gsmrec-dump
4 LIBEFR= ../libgsmefr/libgsmefr.a
4 LIBTEST=../libtest/libtest.a 5 LIBTEST=../libtest/libtest.a
5 INSTBIN=/opt/freecalypso/bin 6 INSTBIN=/opt/freecalypso/bin
6 7
7 all: ${PROGS} 8 all: ${PROGS}
8 9
9 gsmrec-dump: gsmrec-dump.o ${LIBTEST} 10 gsmrec-dump: gsmrec-dump.o ${LIBTEST} ${LIBEFR}
10 ${CC} ${CFLAGS} -o $@ gsmrec-dump.o ${LIBTEST} -lgsm 11 ${CC} ${CFLAGS} -o $@ gsmrec-dump.o ${LIBTEST} ${LIBEFR} -lgsm
11 12
12 install: 13 install:
13 mkdir -p ${INSTBIN} 14 mkdir -p ${INSTBIN}
14 install -c ${PROGS} ${INSTBIN} 15 install -c ${PROGS} ${INSTBIN}
15 16