FreeCalypso > hg > freecalypso-hwlab
annotate pcsc-test/Makefile @ 153:a63e4c64f1f0
fc-simtool: grcard1-set-ki command implemented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 07 Feb 2021 00:46:18 +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 |