FreeCalypso > hg > freecalypso-tools
diff 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 diff
--- a/uptools/sms-pdu-decode/Makefile Tue Feb 04 18:22:22 2020 +0000 +++ b/uptools/sms-pdu-decode/Makefile Sat Feb 08 00:48:28 2020 +0000 @@ -1,21 +1,22 @@ CC= gcc CFLAGS= -O2 -PROG= sms-pdu-decode +PROGS= sms-pdu-decode LIB= ../libcoding/libcoding.a -OBJS= ${PROG}.o ${LIB} + +OBJS1= pdu-common.o sms-pdu-decode.o ${LIB} INSTALL_PREFIX= /opt/freecalypso INSTBIN=${INSTALL_PREFIX}/bin -all: ${PROG} +all: ${PROGS} -${PROG}: ${OBJS} - ${CC} ${CFLAGS} -o $@ ${OBJS} +sms-pdu-decode: ${OBJS1} + ${CC} ${CFLAGS} -o $@ ${OBJS1} install: mkdir -p ${INSTBIN} - install -c ${PROG} ${INSTBIN} + install -c ${PROGS} ${INSTBIN} clean: - rm -f ${PROG} *.o *errs *.out + rm -f ${PROGS} *.o *errs *.out