view pcsc/Makefile @ 0:f4479a0d4cea

fc-pcsc-list ported over
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 14 Mar 2021 00:45:15 +0000
parents
children f7a03e53bb2c
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I/usr/include/PCSC
PROGS=	fc-pcsc-list

INSTALL_PREFIX=	/opt/freecalypso

INSTBIN=${INSTALL_PREFIX}/bin

LIST_OBJS=	context.o rdlist.o

all:	${PROGS}

fc-pcsc-list:	${LIST_OBJS}
	${CC} ${CFLAGS} -o $@ ${LIST_OBJS} -lpcsclite

install:
	mkdir -p ${INSTBIN}
	install -c ${PROGS} ${INSTBIN}

clean:
	rm -f ${PROGS} *.o