FreeCalypso > hg > fc-sim-tools
comparison pcsc/Makefile @ 1:f7a03e53bb2c
fc-pcsc-atr ported over
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 14 Mar 2021 01:09:23 +0000 |
parents | f4479a0d4cea |
children | 45ea06eaa9fd |
comparison
equal
deleted
inserted
replaced
0:f4479a0d4cea | 1:f7a03e53bb2c |
---|---|
1 CC= gcc | 1 CC= gcc |
2 CFLAGS= -O2 -I/usr/include/PCSC | 2 CFLAGS= -O2 -I/usr/include/PCSC |
3 PROGS= fc-pcsc-list | 3 PROGS= fc-pcsc-atr fc-pcsc-list |
4 | 4 |
5 INSTALL_PREFIX= /opt/freecalypso | 5 INSTALL_PREFIX= /opt/freecalypso |
6 | 6 |
7 INSTBIN=${INSTALL_PREFIX}/bin | 7 INSTBIN=${INSTALL_PREFIX}/bin |
8 | 8 |
9 ATR_OBJS= atrfunc.o atrmain.o connect.o context.o rdselect.o | |
9 LIST_OBJS= context.o rdlist.o | 10 LIST_OBJS= context.o rdlist.o |
10 | 11 |
11 all: ${PROGS} | 12 all: ${PROGS} |
13 | |
14 fc-pcsc-atr: ${ATR_OBJS} | |
15 ${CC} ${CFLAGS} -o $@ ${ATR_OBJS} -lpcsclite | |
12 | 16 |
13 fc-pcsc-list: ${LIST_OBJS} | 17 fc-pcsc-list: ${LIST_OBJS} |
14 ${CC} ${CFLAGS} -o $@ ${LIST_OBJS} -lpcsclite | 18 ${CC} ${CFLAGS} -o $@ ${LIST_OBJS} -lpcsclite |
15 | 19 |
16 install: | 20 install: |