diff uptools/atcmd/Makefile @ 387:b61b81d3cece

fcup-settime program written, compiles, produces expected AT+CCLK command
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 10 Mar 2018 00:46:03 +0000
parents ce3b57b8920b
children 90d7c360a614
line wrap: on
line diff
--- a/uptools/atcmd/Makefile	Fri Mar 09 22:15:43 2018 +0000
+++ b/uptools/atcmd/Makefile	Sat Mar 10 00:46:03 2018 +0000
@@ -1,13 +1,15 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	fcup-at fcup-smdump fcup-smsend fcup-smsendmult fcup-smsendpdu \
-	fcup-smwrite
+PROGS=	fcup-at fcup-settime fcup-smdump fcup-smsend fcup-smsendmult \
+	fcup-smsendpdu fcup-smwrite
 INSTBIN=/opt/freecalypso/bin
 
 LIBCODING=	../libcoding/libcoding.a
 
 ATCMD_OBJS=	atcmd.o atinterf.o
 
+SETTIME_OBJS=	atinterf.o settime.o
+
 SMDUMP_OBJS=	atinterf.o resp_parse.o smdump.o ${LIBCODING}
 
 SMSEND_OBJS=	atinterf.o resp_parse.o smsend_cmgw.o smsend_concat.o \
@@ -27,6 +29,9 @@
 fcup-at:	${ATCMD_OBJS}
 	${CC} ${CFLAGS} -o $@ ${ATCMD_OBJS}
 
+fcup-settime:	${SETTIME_OBJS}
+	${CC} ${CFLAGS} -o $@ ${SETTIME_OBJS}
+
 fcup-smdump:	${SMDUMP_OBJS}
 	${CC} ${CFLAGS} -o $@ ${SMDUMP_OBJS}