view uptools/sms-pdu-decode/Makefile @ 598:9f7a263ad7f0

sms-pdu-decode split in preparation for pcm-sms-decode addition
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 08 Feb 2020 00:48:28 +0000
parents 90d7c360a614
children 31e219088cd6
line wrap: on
line source

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

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

INSTALL_PREFIX=	/opt/freecalypso

INSTBIN=${INSTALL_PREFIX}/bin

all:	${PROGS}

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

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

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