view uptools/sms-pdu-decode/Makefile @ 816:b3724fe6c581

fc-tmsh bsim commands implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 14 May 2021 17:16:43 +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