FreeCalypso > hg > freecalypso-tools
comparison 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 |
comparison
equal
deleted
inserted
replaced
386:bae0fd7285dd | 387:b61b81d3cece |
---|---|
1 CC= gcc | 1 CC= gcc |
2 CFLAGS= -O2 | 2 CFLAGS= -O2 |
3 PROGS= fcup-at fcup-smdump fcup-smsend fcup-smsendmult fcup-smsendpdu \ | 3 PROGS= fcup-at fcup-settime fcup-smdump fcup-smsend fcup-smsendmult \ |
4 fcup-smwrite | 4 fcup-smsendpdu fcup-smwrite |
5 INSTBIN=/opt/freecalypso/bin | 5 INSTBIN=/opt/freecalypso/bin |
6 | 6 |
7 LIBCODING= ../libcoding/libcoding.a | 7 LIBCODING= ../libcoding/libcoding.a |
8 | 8 |
9 ATCMD_OBJS= atcmd.o atinterf.o | 9 ATCMD_OBJS= atcmd.o atinterf.o |
10 | |
11 SETTIME_OBJS= atinterf.o settime.o | |
10 | 12 |
11 SMDUMP_OBJS= atinterf.o resp_parse.o smdump.o ${LIBCODING} | 13 SMDUMP_OBJS= atinterf.o resp_parse.o smdump.o ${LIBCODING} |
12 | 14 |
13 SMSEND_OBJS= atinterf.o resp_parse.o smsend_cmgw.o smsend_concat.o \ | 15 SMSEND_OBJS= atinterf.o resp_parse.o smsend_cmgw.o smsend_concat.o \ |
14 smsend_main.o smsend_pdugen.o smsend_pduout.o smsend_text.o \ | 16 smsend_main.o smsend_pdugen.o smsend_pduout.o smsend_text.o \ |
24 | 26 |
25 all: ${PROGS} | 27 all: ${PROGS} |
26 | 28 |
27 fcup-at: ${ATCMD_OBJS} | 29 fcup-at: ${ATCMD_OBJS} |
28 ${CC} ${CFLAGS} -o $@ ${ATCMD_OBJS} | 30 ${CC} ${CFLAGS} -o $@ ${ATCMD_OBJS} |
31 | |
32 fcup-settime: ${SETTIME_OBJS} | |
33 ${CC} ${CFLAGS} -o $@ ${SETTIME_OBJS} | |
29 | 34 |
30 fcup-smdump: ${SMDUMP_OBJS} | 35 fcup-smdump: ${SMDUMP_OBJS} |
31 ${CC} ${CFLAGS} -o $@ ${SMDUMP_OBJS} | 36 ${CC} ${CFLAGS} -o $@ ${SMDUMP_OBJS} |
32 | 37 |
33 fcup-smsend: ${SMSEND_OBJS} | 38 fcup-smsend: ${SMSEND_OBJS} |