FreeCalypso > hg > fc-sim-tools
annotate utils/Makefile @ 35:26d2ef843a99
fcsim1-mkprov utility implemented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 17 Mar 2021 04:51:53 +0000 |
parents | ca8a6f95826a |
children | 2a24e94400e8 |
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 |
35
26d2ef843a99
fcsim1-mkprov utility implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
27
diff
changeset
|
3 PROGS= fcsim1-mkprov sim-iccid-mkfull sim-iccid-mkrange sws-card-lookup \ |
26d2ef843a99
fcsim1-mkprov utility implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
27
diff
changeset
|
4 sws-email2db |
24
47a491a16de3
utils/Makefile: use ${LIBUTIL} instead of ${LIBS}
Mychaela Falconia <falcon@freecalypso.org>
parents:
17
diff
changeset
|
5 LIBUTIL=../libutil/libutil.a |
17
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 INSTALL_PREFIX= /opt/freecalypso |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 INSTBIN=${INSTALL_PREFIX}/bin |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 all: ${PROGS} |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
35
26d2ef843a99
fcsim1-mkprov utility implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
27
diff
changeset
|
13 fcsim1-mkprov: fcsim1-mkprov.o ${LIBUTIL} |
26d2ef843a99
fcsim1-mkprov utility implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
27
diff
changeset
|
14 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL} |
26d2ef843a99
fcsim1-mkprov utility implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
27
diff
changeset
|
15 |
24
47a491a16de3
utils/Makefile: use ${LIBUTIL} instead of ${LIBS}
Mychaela Falconia <falcon@freecalypso.org>
parents:
17
diff
changeset
|
16 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
|
17 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL} |
17
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 |
25
9c9f6adbaedb
sim-iccid-mkrange utility added
Mychaela Falconia <falcon@freecalypso.org>
parents:
24
diff
changeset
|
19 sim-iccid-mkrange: sim-iccid-mkrange.o ${LIBUTIL} |
9c9f6adbaedb
sim-iccid-mkrange utility added
Mychaela Falconia <falcon@freecalypso.org>
parents:
24
diff
changeset
|
20 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL} |
9c9f6adbaedb
sim-iccid-mkrange utility added
Mychaela Falconia <falcon@freecalypso.org>
parents:
24
diff
changeset
|
21 |
27
ca8a6f95826a
implemented sws-card-lookup and underlying libutil functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
25
diff
changeset
|
22 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
|
23 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL} |
ca8a6f95826a
implemented sws-card-lookup and underlying libutil functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
25
diff
changeset
|
24 |
17
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 sws-email2db: sws-email2db.c |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 ${CC} ${CFLAGS} -o $@ $@.c |
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 install: |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 mkdir -p ${INSTBIN} |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 install -c ${PROGS} ${INSTBIN} |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 clean: |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 rm -f ${PROGS} *.o |