annotate uicc/Makefile @ 146:ce2a880ab704

fc-uicc-tool: pb-update commands ported over
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 06 Feb 2021 02:45:29 +0000
parents 14dee03e9675
children 43463dc91431
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 \
145
14dee03e9675 fc-uicc-tool: low-level write commands ported over
Mychaela Falconia <falcon@freecalypso.org>
parents: 142
diff changeset
5 dumpdir.o exit.o globals.o hexdump.o hexread.o hexstr.o hlread.o main.o\
146
ce2a880ab704 fc-uicc-tool: pb-update commands ported over
Mychaela Falconia <falcon@freecalypso.org>
parents: 145
diff changeset
6 names.o pbcommon.o pbdump.o pbupdate.o readcmd.o readops.o script.o \
ce2a880ab704 fc-uicc-tool: pb-update commands ported over
Mychaela Falconia <falcon@freecalypso.org>
parents: 145
diff changeset
7 select.o telsum.o writecmd.o writeops.o
142
74c5dc7408e9 uicc/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 138
diff changeset
8 INSTBIN=/opt/freecalypso/bin
130
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 all: ${PROG}
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 ${PROG}: ${OBJS}
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 ${CC} ${CFLAGS} -o $@ ${OBJS} -lpcsclite
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14
142
74c5dc7408e9 uicc/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 138
diff changeset
15 install:
74c5dc7408e9 uicc/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 138
diff changeset
16 mkdir -p ${INSTBIN}
74c5dc7408e9 uicc/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 138
diff changeset
17 install -c ${PROG} ${INSTBIN}
74c5dc7408e9 uicc/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 138
diff changeset
18
130
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 clean:
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 rm -f ${PROG} *.o