diff uptools/atcmd/Makefile @ 385:ce3b57b8920b

fcup-smwrite program written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 09 Mar 2018 20:43:53 +0000
parents 3eb92855f7b9
children b61b81d3cece
line wrap: on
line diff
--- a/uptools/atcmd/Makefile	Fri Mar 09 03:29:40 2018 +0000
+++ b/uptools/atcmd/Makefile	Fri Mar 09 20:43:53 2018 +0000
@@ -1,6 +1,7 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	fcup-at fcup-smdump fcup-smsend fcup-smsendmult fcup-smsendpdu
+PROGS=	fcup-at fcup-smdump fcup-smsend fcup-smsendmult fcup-smsendpdu \
+	fcup-smwrite
 INSTBIN=/opt/freecalypso/bin
 
 LIBCODING=	../libcoding/libcoding.a
@@ -19,6 +20,8 @@
 SMSENDP_OBJS=	atinterf.o resp_parse.o smsend_cmgw.o smsend_pduin.o \
 		smsend_pduout.o ${LIBCODING}
 
+SMWRITE_OBJS=	atinterf.o smwrite.o ${LIBCODING}
+
 all:	${PROGS}
 
 fcup-at:	${ATCMD_OBJS}
@@ -36,6 +39,9 @@
 fcup-smsendpdu:	${SMSENDP_OBJS}
 	${CC} ${CFLAGS} -o $@ ${SMSENDP_OBJS}
 
+fcup-smwrite:	${SMWRITE_OBJS}
+	${CC} ${CFLAGS} -o $@ ${SMWRITE_OBJS}
+
 install:	${PROGS}
 	mkdir -p ${INSTBIN}
 	install -c ${PROGS} ${INSTBIN}