diff uptools/sms-pdu-decode/Makefile @ 600:31e219088cd6

uptools/sms-pdu-decode: pcm-sms-decode utility added
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 08 Feb 2020 02:47:43 +0000
parents 9f7a263ad7f0
children
line wrap: on
line diff
--- a/uptools/sms-pdu-decode/Makefile	Sat Feb 08 01:20:45 2020 +0000
+++ b/uptools/sms-pdu-decode/Makefile	Sat Feb 08 02:47:43 2020 +0000
@@ -1,8 +1,9 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	sms-pdu-decode
+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
@@ -11,6 +12,9 @@
 
 all:	${PROGS}
 
+pcm-sms-decode:	${OBJS0}
+	${CC} ${CFLAGS} -o $@ ${OBJS0}
+
 sms-pdu-decode:	${OBJS1}
 	${CC} ${CFLAGS} -o $@ ${OBJS1}