FreeCalypso > hg > fc-pcsc-tools
comparison misc/Makefile @ 31:be9984600bf8
fc-pcsc-list utility written
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 12 Feb 2021 17:14:59 +0000 |
parents | 4bd6275d7c79 |
children | f064dbcc5f41 |
comparison
equal
deleted
inserted
replaced
30:84d1c31d0fad | 31:be9984600bf8 |
---|---|
1 CC= gcc | 1 CC= gcc |
2 CFLAGS= -O2 -I/usr/include/PCSC -I../libcommon | 2 CFLAGS= -O2 -I/usr/include/PCSC -I../libcommon |
3 PROGS= fc-pcsc-atr | 3 PROGS= fc-pcsc-atr fc-pcsc-list |
4 LIBS= ../libcommon/libcommon.a | 4 LIBS= ../libcommon/libcommon.a |
5 INSTBIN=/opt/freecalypso/bin | 5 INSTBIN=/opt/freecalypso/bin |
6 | 6 |
7 all: ${PROGS} | 7 all: ${PROGS} |
8 | 8 |
9 fc-pcsc-atr: fc-pcsc-atr.o ${LIBS} | 9 fc-pcsc-atr: fc-pcsc-atr.o ${LIBS} |
10 ${CC} ${CFLAGS} -o $@ $@.o ${LIBS} -lpcsclite | 10 ${CC} ${CFLAGS} -o $@ $@.o ${LIBS} -lpcsclite |
11 | 11 |
12 fc-pcsc-list: fc-pcsc-list.o ${LIBS} | |
13 ${CC} ${CFLAGS} -o $@ $@.o ${LIBS} -lpcsclite | |
14 | |
12 install: | 15 install: |
13 mkdir -p ${INSTBIN} | 16 mkdir -p ${INSTBIN} |
14 install -c ${PROGS} ${INSTBIN} | 17 install -c ${PROGS} ${INSTBIN} |
15 | 18 |
16 clean: | 19 clean: |