view uptools/sms-pdu-decode/Makefile @ 850:52f507580d78

CHANGES: document all current lunadrv changes
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 18 Aug 2021 04:30: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