FreeCalypso > hg > freecalypso-hwlab
annotate pcsc-test/Makefile @ 148:1232dea1d66a
fc-simtool: grcard1-set-pin[12] commands implemented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 06 Feb 2021 23:52:53 +0000 |
parents | 1d7d8615d628 |
children |
rev | line source |
---|---|
84
1d7d8615d628
pcsc-test: some experiments to get pcsc-lite working
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
1d7d8615d628
pcsc-test: some experiments to get pcsc-lite working
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 -I/usr/include/PCSC |
1d7d8615d628
pcsc-test: some experiments to get pcsc-lite working
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 PROGS= pcsc-test1 pcsc-test2 |
1d7d8615d628
pcsc-test: some experiments to get pcsc-lite working
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 |
1d7d8615d628
pcsc-test: some experiments to get pcsc-lite working
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 all: ${PROGS} |
1d7d8615d628
pcsc-test: some experiments to get pcsc-lite working
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
1d7d8615d628
pcsc-test: some experiments to get pcsc-lite working
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 pcsc-test1: pcsc-test1.c |
1d7d8615d628
pcsc-test: some experiments to get pcsc-lite working
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 ${CC} ${CFLAGS} -o $@ $@.c -lpcsclite |
1d7d8615d628
pcsc-test: some experiments to get pcsc-lite working
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
1d7d8615d628
pcsc-test: some experiments to get pcsc-lite working
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 pcsc-test2: pcsc-test2.c |
1d7d8615d628
pcsc-test: some experiments to get pcsc-lite working
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 ${CC} ${CFLAGS} -o $@ $@.c -lpcsclite |
1d7d8615d628
pcsc-test: some experiments to get pcsc-lite working
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
1d7d8615d628
pcsc-test: some experiments to get pcsc-lite working
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 clean: |
1d7d8615d628
pcsc-test: some experiments to get pcsc-lite working
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 rm -f ${PROGS} *.o |