annotate uptools/Makefile @ 407:19e5a3e2f9c0

fcup-settime: moved time() retrieval a little closer to the output A fundamental problem with all simple time transfer tools is that there is always some delay between the time retrieval on the source system and that transmitted time being set on the destination, and the resulting time on the destination system is off by that delay amount. This delay cannot be fully eliminated when working in a simple environment like ours, but we should make our best effort to minimize it. In the present case, moving the atinterf_init() call before the time() retrieval should make a teensy-tiny improvement.
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 11 Aug 2018 21:52:17 +0000
parents b0cb465290f7
children 8f3fe2d1fda5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
349
b0cb465290f7 uptools/Makefile: atcmd added
Mychaela Falconia <falcon@freecalypso.org>
parents: 342
diff changeset
1 PROGDIR=atcmd atinterf sms-pdu-decode
338
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 LIBDIR= libcoding
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 SUBDIR= ${PROGDIR} ${LIBDIR}
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 all: ${SUBDIR}
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
349
b0cb465290f7 uptools/Makefile: atcmd added
Mychaela Falconia <falcon@freecalypso.org>
parents: 342
diff changeset
7 atcmd: libcoding
338
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 sms-pdu-decode: libcoding
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 ${SUBDIR}: FRC
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 cd $@; ${MAKE} ${MFLAGS}
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 clean: FRC
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 rm -f a.out core errs
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 install: FRC
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 FRC: