FreeCalypso > hg > fc-sim-tools
view pcsc/Makefile @ 53:fbedb67d234f
serial: fix parity for inverse coding convention
Important note: it is my (Mother Mychaela's) understanding that
SIM cards with inverse coding convention are extremely rare,
and I have never seen such a card. Therefore, our support for
the inverse coding convention will likely remain forever untested.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 21 Mar 2021 20:46:09 +0000 |
parents | 45ea06eaa9fd |
children |
line wrap: on
line source
CC= gcc CFLAGS= -O2 -I/usr/include/PCSC PROGS= fc-pcsc-atr fc-pcsc-backend fc-pcsc-list INSTALL_PREFIX= /opt/freecalypso INSTBIN=${INSTALL_PREFIX}/bin ATR_OBJS= atrfunc.o atrmain.o connect.o context.o rdselect.o MAIN_OBJS= atrfunc.o connect.o context.o main.o rdselect.o LIST_OBJS= context.o rdlist.o all: ${PROGS} fc-pcsc-atr: ${ATR_OBJS} ${CC} ${CFLAGS} -o $@ ${ATR_OBJS} -lpcsclite fc-pcsc-backend: ${MAIN_OBJS} ${CC} ${CFLAGS} -o $@ ${MAIN_OBJS} -lpcsclite fc-pcsc-list: ${LIST_OBJS} ${CC} ${CFLAGS} -o $@ ${LIST_OBJS} -lpcsclite install: mkdir -p ${INSTBIN} install -c ${PROGS} ${INSTBIN} clean: rm -f ${PROGS} *.o