FreeCalypso > hg > freecalypso-hwlab
annotate simtool/Makefile @ 153:a63e4c64f1f0
fc-simtool: grcard1-set-ki command implemented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 07 Feb 2021 00:46:18 +0000 |
parents | 54e33e9238b6 |
children | ed34c8b7e2c9 |
rev | line source |
---|---|
85
b57cf64ece29
fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
b57cf64ece29
fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 -I/usr/include/PCSC |
b57cf64ece29
fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 PROG= fc-simtool |
127
141489d31667
fc-simtool: a38 command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
124
diff
changeset
|
4 OBJS= a38.o alpha_decode.o alpha_valid.o apdu.o atr.o cardconnect.o chv.o \ |
148
1232dea1d66a
fc-simtool: grcard1-set-pin[12] commands implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
143
diff
changeset
|
5 dispatch.o dumpdir.o exit.o globals.o grcard1.o hexdump.o hexread.o \ |
150
54e33e9238b6
fc-simtool: harmonize hex string code with fc-uicc-tool
Mychaela Falconia <falcon@freecalypso.org>
parents:
148
diff
changeset
|
6 hexstr.o hlread.o main.o names.o pbcommon.o pbdump.o pberase.o \ |
54e33e9238b6
fc-simtool: harmonize hex string code with fc-uicc-tool
Mychaela Falconia <falcon@freecalypso.org>
parents:
148
diff
changeset
|
7 pbupdate.o readcmd.o readops.o saverestore.o script.o select.o sysmo.o \ |
54e33e9238b6
fc-simtool: harmonize hex string code with fc-uicc-tool
Mychaela Falconia <falcon@freecalypso.org>
parents:
148
diff
changeset
|
8 telsum.o writecmd.o writeops.o |
107
ba2c796259e9
simtool/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
104
diff
changeset
|
9 INSTBIN=/opt/freecalypso/bin |
85
b57cf64ece29
fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
b57cf64ece29
fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 all: ${PROG} |
b57cf64ece29
fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
b57cf64ece29
fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 ${PROG}: ${OBJS} |
b57cf64ece29
fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 ${CC} ${CFLAGS} -o $@ ${OBJS} -lpcsclite |
b57cf64ece29
fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 |
107
ba2c796259e9
simtool/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
104
diff
changeset
|
16 install: |
ba2c796259e9
simtool/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
104
diff
changeset
|
17 mkdir -p ${INSTBIN} |
ba2c796259e9
simtool/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
104
diff
changeset
|
18 install -c ${PROG} ${INSTBIN} |
ba2c796259e9
simtool/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
104
diff
changeset
|
19 |
85
b57cf64ece29
fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 clean: |
b57cf64ece29
fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 rm -f ${PROG} *.o |