comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:f4479a0d4cea
1 CC= gcc
2 CFLAGS= -O2 -I/usr/include/PCSC
3 PROGS= fc-pcsc-list
4
5 INSTALL_PREFIX= /opt/freecalypso
6
7 INSTBIN=${INSTALL_PREFIX}/bin
8
9 LIST_OBJS= context.o rdlist.o
10
11 all: ${PROGS}
12
13 fc-pcsc-list: ${LIST_OBJS}
14 ${CC} ${CFLAGS} -o $@ ${LIST_OBJS} -lpcsclite
15
16 install:
17 mkdir -p ${INSTBIN}
18 install -c ${PROGS} ${INSTBIN}
19
20 clean:
21 rm -f ${PROGS} *.o