FreeCalypso > hg > fc-sim-tools
diff pcsc/Makefile @ 3:45ea06eaa9fd
fc-pcsc-backend main program put together
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 14 Mar 2021 02:21:49 +0000 |
parents | f7a03e53bb2c |
children |
line wrap: on
line diff
--- a/pcsc/Makefile Sun Mar 14 01:22:37 2021 +0000 +++ b/pcsc/Makefile Sun Mar 14 02:21:49 2021 +0000 @@ -1,12 +1,13 @@ CC= gcc CFLAGS= -O2 -I/usr/include/PCSC -PROGS= fc-pcsc-atr fc-pcsc-list +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} @@ -14,6 +15,9 @@ 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