view uptools/sms-pdu-decode/Makefile @ 839:b053e4141a16

CHANGES: refer to doc/Audio-mode-config for AEC support changes
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 30 Jul 2021 05:42:21 +0000
parents 31e219088cd6
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	pcm-sms-decode sms-pdu-decode
LIB=	../libcoding/libcoding.a

OBJS0=	pcm-sms-decode.o pdu-common.o ${LIB}
OBJS1=	pdu-common.o sms-pdu-decode.o ${LIB}

INSTALL_PREFIX=	/opt/freecalypso

INSTBIN=${INSTALL_PREFIX}/bin

all:	${PROGS}

pcm-sms-decode:	${OBJS0}
	${CC} ${CFLAGS} -o $@ ${OBJS0}

sms-pdu-decode:	${OBJS1}
	${CC} ${CFLAGS} -o $@ ${OBJS1}

install:
	mkdir -p ${INSTBIN}
	install -c ${PROGS} ${INSTBIN}

clean:
	rm -f ${PROGS} *.o *errs *.out