FreeCalypso > hg > fc-sim-tools
diff 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 |
line wrap: on
line diff
--- a/pcsc/Makefile Sun Mar 14 00:45:15 2021 +0000 +++ b/pcsc/Makefile Sun Mar 14 01:09:23 2021 +0000 @@ -1,15 +1,19 @@ CC= gcc CFLAGS= -O2 -I/usr/include/PCSC -PROGS= fc-pcsc-list +PROGS= fc-pcsc-atr fc-pcsc-list INSTALL_PREFIX= /opt/freecalypso INSTBIN=${INSTALL_PREFIX}/bin +ATR_OBJS= atrfunc.o atrmain.o connect.o context.o rdselect.o LIST_OBJS= context.o rdlist.o all: ${PROGS} +fc-pcsc-atr: ${ATR_OBJS} + ${CC} ${CFLAGS} -o $@ ${ATR_OBJS} -lpcsclite + fc-pcsc-list: ${LIST_OBJS} ${CC} ${CFLAGS} -o $@ ${LIST_OBJS} -lpcsclite