annotate uicc/Makefile @ 171:88b8257d353b

eeproms: rm all configs that went to fc-usbser-tools These configs need to be actively maintained, hence having more than one official home location for them is a bad idea.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 11 Sep 2023 05:21:56 +0000
parents a5e2b6e3bdf7
children
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\
147
43463dc91431 fc-uicc-tool: pb-erase commands ported over
Mychaela Falconia <falcon@freecalypso.org>
parents: 146
diff changeset
6 names.o pbcommon.o pbdump.o pberase.o pbupdate.o readcmd.o readops.o \
159
a5e2b6e3bdf7 fc-uicc-tool: fix-sysmo-msisdn command ported over
Mychaela Falconia <falcon@freecalypso.org>
parents: 147
diff changeset
7 script.o select.o sysmo.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