FreeCalypso > hg > fc-pcsc-tools
annotate uicc/Makefile @ 139:c13ed9194ecd
fc-uicc-tool create-file implemented
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Wed, 24 Feb 2021 17:08:37 +0000 |
| parents | 5d45cde6e4b2 |
| children | d9dd52bc403b |
| rev | line source |
|---|---|
|
22
1b1468869ccf
new trimmed fc-uicc-tool is here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
|
1b1468869ccf
new trimmed fc-uicc-tool is here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 -I/usr/include/PCSC -I../libcommon |
|
1b1468869ccf
new trimmed fc-uicc-tool is here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 PROG= fc-uicc-tool |
|
139
c13ed9194ecd
fc-uicc-tool create-file implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
4 OBJS= createfile.o dispatch.o dumpdir.o hlread.o main.o pins.o readcmd.o \ |
|
c13ed9194ecd
fc-uicc-tool create-file implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
118
diff
changeset
|
5 readops.o script.o select.o writecmd.o writeops.o |
|
22
1b1468869ccf
new trimmed fc-uicc-tool is here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 LIBS= ../libcommon/libcommon.a |
|
1b1468869ccf
new trimmed fc-uicc-tool is here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 INSTBIN=/opt/freecalypso/bin |
|
1b1468869ccf
new trimmed fc-uicc-tool is here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
|
1b1468869ccf
new trimmed fc-uicc-tool is here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 all: ${PROG} |
|
1b1468869ccf
new trimmed fc-uicc-tool is here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
|
1b1468869ccf
new trimmed fc-uicc-tool is here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 ${PROG}: ${OBJS} ${LIBS} |
|
1b1468869ccf
new trimmed fc-uicc-tool is here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} -lpcsclite |
|
1b1468869ccf
new trimmed fc-uicc-tool is here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
|
1b1468869ccf
new trimmed fc-uicc-tool is here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 install: |
|
1b1468869ccf
new trimmed fc-uicc-tool is here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 mkdir -p ${INSTBIN} |
|
1b1468869ccf
new trimmed fc-uicc-tool is here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 install -c ${PROG} ${INSTBIN} |
|
1b1468869ccf
new trimmed fc-uicc-tool is here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 |
|
1b1468869ccf
new trimmed fc-uicc-tool is here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 clean: |
|
1b1468869ccf
new trimmed fc-uicc-tool is here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 rm -f ${PROG} *.o |
