annotate uicc/Makefile @ 144:429a8f80426e

fc-uicc-tool: catch record length from manual select
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 06 Feb 2021 02:03:11 +0000
parents 74c5dc7408e9
children 14dee03e9675
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
130
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2 -I/usr/include/PCSC
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 PROG= fc-uicc-tool
136
a21d348e01db fc-uicc-tool: pb-dump command ported over
Mychaela Falconia <falcon@freecalypso.org>
parents: 135
diff changeset
4 OBJS= alpha_decode.o alpha_valid.o apdu.o atr.o cardconnect.o dispatch.o \
138
baf5bd698764 fc-uicc-tool: select-aid command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 137
diff changeset
5 dumpdir.o exit.o globals.o hexdump.o hexstr.o hlread.o main.o names.o \
baf5bd698764 fc-uicc-tool: select-aid command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 137
diff changeset
6 pbcommon.o pbdump.o readcmd.o readops.o script.o select.o telsum.o
142
74c5dc7408e9 uicc/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 138
diff changeset
7 INSTBIN=/opt/freecalypso/bin
130
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 all: ${PROG}
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 ${PROG}: ${OBJS}
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 ${CC} ${CFLAGS} -o $@ ${OBJS} -lpcsclite
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
142
74c5dc7408e9 uicc/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 138
diff changeset
14 install:
74c5dc7408e9 uicc/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 138
diff changeset
15 mkdir -p ${INSTBIN}
74c5dc7408e9 uicc/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 138
diff changeset
16 install -c ${PROG} ${INSTBIN}
74c5dc7408e9 uicc/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 138
diff changeset
17
130
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 clean:
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 rm -f ${PROG} *.o