annotate miscutil/Makefile @ 1008:2b4c3e0f73fc

doc/High-speed-serial: update for current situation
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 10 Dec 2023 23:42:12 +0000
parents 8ddb16a37273
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
902
8ddb16a37273 tree org: move TCH and VM utils from miscutil to tchtools
Mychaela Falconia <falcon@freecalypso.org>
parents: 759
diff changeset
3 PROGS= arfcn2ti fc-pulse-dtr fc-pulse-rts fc-rgbconv fc-serterm imei-luhn \
8ddb16a37273 tree org: move TCH and VM utils from miscutil to tchtools
Mychaela Falconia <falcon@freecalypso.org>
parents: 759
diff changeset
4 make-imeisv mokosrec2bin srec-regions ti2arfcn
59
819335e06fd1 c139explore and pirexplore host wrapper shell scripts added
Mychaela Falconia <falcon@freecalypso.org>
parents: 47
diff changeset
5 SCRIPTS=c139explore pirexplore
473
90d7c360a614 main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 412
diff changeset
6
90d7c360a614 main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 412
diff changeset
7 INSTALL_PREFIX= /opt/freecalypso
90d7c360a614 main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 412
diff changeset
8
90d7c360a614 main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 412
diff changeset
9 INSTBIN=${INSTALL_PREFIX}/bin
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 all: ${PROGS}
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
251
fb577c31e960 fc-serterm converted to use libserial
Mychaela Falconia <falcon@freecalypso.org>
parents: 171
diff changeset
13 SERTERM_OBJS= fc-serterm.o ttypassthru.o ../libserial/libserial.a
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14
758
b8cb116a7dc7 arfcn2ti utility added to miscutil
Mychaela Falconia <falcon@freecalypso.org>
parents: 744
diff changeset
15 arfcn2ti: arfcn2ti.c
b8cb116a7dc7 arfcn2ti utility added to miscutil
Mychaela Falconia <falcon@freecalypso.org>
parents: 744
diff changeset
16 ${CC} ${CFLAGS} -o $@ $@.c
b8cb116a7dc7 arfcn2ti utility added to miscutil
Mychaela Falconia <falcon@freecalypso.org>
parents: 744
diff changeset
17
735
5b8287c655cf fc-pulse-dtr and fc-pulse-rts utilities implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 622
diff changeset
18 fc-pulse-dtr: fc-pulse-dtr.c
5b8287c655cf fc-pulse-dtr and fc-pulse-rts utilities implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 622
diff changeset
19 ${CC} ${CFLAGS} -o $@ $@.c
5b8287c655cf fc-pulse-dtr and fc-pulse-rts utilities implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 622
diff changeset
20
5b8287c655cf fc-pulse-dtr and fc-pulse-rts utilities implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 622
diff changeset
21 fc-pulse-rts: fc-pulse-rts.c
5b8287c655cf fc-pulse-dtr and fc-pulse-rts utilities implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 622
diff changeset
22 ${CC} ${CFLAGS} -o $@ $@.c
5b8287c655cf fc-pulse-dtr and fc-pulse-rts utilities implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 622
diff changeset
23
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 fc-rgbconv: fc-rgbconv.c
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 ${CC} ${CFLAGS} -o $@ $@.c
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 fc-serterm: ${SERTERM_OBJS}
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 ${CC} ${CFLAGS} -o $@ ${SERTERM_OBJS}
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 ttypassthru.o: ../loadtools/ttypassthru.c
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 ${CC} ${CFLAGS} -c -o $@ $<
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 imei-luhn: imei-luhn.c
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 ${CC} ${CFLAGS} -o $@ $@.c
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35
744
2dcfad8a3ed0 make-imeisv utility written
Mychaela Falconia <falcon@freecalypso.org>
parents: 735
diff changeset
36 make-imeisv: make-imeisv.c
2dcfad8a3ed0 make-imeisv utility written
Mychaela Falconia <falcon@freecalypso.org>
parents: 735
diff changeset
37 ${CC} ${CFLAGS} -o $@ $@.c
2dcfad8a3ed0 make-imeisv utility written
Mychaela Falconia <falcon@freecalypso.org>
parents: 735
diff changeset
38
412
a5dab452be0d mokosrec2bin utility imported from the old freecalypso-reveng tree,
Mychaela Falconia <falcon@freecalypso.org>
parents: 251
diff changeset
39 mokosrec2bin: mokosrec2bin.c
a5dab452be0d mokosrec2bin utility imported from the old freecalypso-reveng tree,
Mychaela Falconia <falcon@freecalypso.org>
parents: 251
diff changeset
40 ${CC} ${CFLAGS} -o $@ $@.c
a5dab452be0d mokosrec2bin utility imported from the old freecalypso-reveng tree,
Mychaela Falconia <falcon@freecalypso.org>
parents: 251
diff changeset
41
622
89e9e79a7f55 srec-regions utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 473
diff changeset
42 srec-regions: srec-regions.c
89e9e79a7f55 srec-regions utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 473
diff changeset
43 ${CC} ${CFLAGS} -o $@ $@.c
89e9e79a7f55 srec-regions utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 473
diff changeset
44
759
d2fccd82a83e ti2arfcn utility added to miscutil
Mychaela Falconia <falcon@freecalypso.org>
parents: 758
diff changeset
45 ti2arfcn: ti2arfcn.c
d2fccd82a83e ti2arfcn utility added to miscutil
Mychaela Falconia <falcon@freecalypso.org>
parents: 758
diff changeset
46 ${CC} ${CFLAGS} -o $@ $@.c
d2fccd82a83e ti2arfcn utility added to miscutil
Mychaela Falconia <falcon@freecalypso.org>
parents: 758
diff changeset
47
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 install:
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49 mkdir -p ${INSTBIN}
59
819335e06fd1 c139explore and pirexplore host wrapper shell scripts added
Mychaela Falconia <falcon@freecalypso.org>
parents: 47
diff changeset
50 install -c ${PROGS} ${SCRIPTS} ${INSTBIN}
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
51
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52 clean:
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
53 rm -f ${PROGS} *.o *errs *.out