annotate utils/Makefile @ 27:ca8a6f95826a

implemented sws-card-lookup and underlying libutil functions
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 16 Mar 2021 23:22:37 +0000
parents 9c9f6adbaedb
children 26d2ef843a99
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17
372ecc4aa2c4 off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
372ecc4aa2c4 off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
27
ca8a6f95826a implemented sws-card-lookup and underlying libutil functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 25
diff changeset
3 PROGS= sim-iccid-mkfull sim-iccid-mkrange sws-card-lookup sws-email2db
24
47a491a16de3 utils/Makefile: use ${LIBUTIL} instead of ${LIBS}
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
4 LIBUTIL=../libutil/libutil.a
17
372ecc4aa2c4 off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
372ecc4aa2c4 off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 INSTALL_PREFIX= /opt/freecalypso
372ecc4aa2c4 off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
372ecc4aa2c4 off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 INSTBIN=${INSTALL_PREFIX}/bin
372ecc4aa2c4 off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9
372ecc4aa2c4 off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 all: ${PROGS}
372ecc4aa2c4 off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
24
47a491a16de3 utils/Makefile: use ${LIBUTIL} instead of ${LIBS}
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
12 sim-iccid-mkfull: sim-iccid-mkfull.o ${LIBUTIL}
47a491a16de3 utils/Makefile: use ${LIBUTIL} instead of ${LIBS}
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
13 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL}
17
372ecc4aa2c4 off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14
25
9c9f6adbaedb sim-iccid-mkrange utility added
Mychaela Falconia <falcon@freecalypso.org>
parents: 24
diff changeset
15 sim-iccid-mkrange: sim-iccid-mkrange.o ${LIBUTIL}
9c9f6adbaedb sim-iccid-mkrange utility added
Mychaela Falconia <falcon@freecalypso.org>
parents: 24
diff changeset
16 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL}
9c9f6adbaedb sim-iccid-mkrange utility added
Mychaela Falconia <falcon@freecalypso.org>
parents: 24
diff changeset
17
27
ca8a6f95826a implemented sws-card-lookup and underlying libutil functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 25
diff changeset
18 sws-card-lookup: sws-card-lookup.o ${LIBUTIL}
ca8a6f95826a implemented sws-card-lookup and underlying libutil functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 25
diff changeset
19 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL}
ca8a6f95826a implemented sws-card-lookup and underlying libutil functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 25
diff changeset
20
17
372ecc4aa2c4 off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 sws-email2db: sws-email2db.c
372ecc4aa2c4 off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 ${CC} ${CFLAGS} -o $@ $@.c
372ecc4aa2c4 off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23
372ecc4aa2c4 off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 install:
372ecc4aa2c4 off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 mkdir -p ${INSTBIN}
372ecc4aa2c4 off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 install -c ${PROGS} ${INSTBIN}
372ecc4aa2c4 off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27
372ecc4aa2c4 off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 clean:
372ecc4aa2c4 off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 rm -f ${PROGS} *.o