FreeCalypso > hg > fc-sim-tools
annotate utils/Makefile @ 26:322f6fcdc36e
doc/vendor/grcard2-person-script added
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 16 Mar 2021 00:40:10 +0000 |
parents | 9c9f6adbaedb |
children | ca8a6f95826a |
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 |
25
9c9f6adbaedb
sim-iccid-mkrange utility added
Mychaela Falconia <falcon@freecalypso.org>
parents:
24
diff
changeset
|
3 PROGS= sim-iccid-mkfull sim-iccid-mkrange 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 |
17
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 sws-email2db: sws-email2db.c |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 ${CC} ${CFLAGS} -o $@ $@.c |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 install: |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 mkdir -p ${INSTBIN} |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 install -c ${PROGS} ${INSTBIN} |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 clean: |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 rm -f ${PROGS} *.o |