view misc/Makefile @ 220:e07de8a9cedf

fc-simtool grcard2-set-comp128 command implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 09 Mar 2021 02:01:27 +0000
parents e6263e1b16f8
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I/usr/include/PCSC -I../libcommon
PROGS=	fc-pcsc-atr fc-pcsc-list
LIBS=	../libcommon/libcommon.a
INSTBIN=/opt/freecalypso/bin

all:	${PROGS}

fc-pcsc-atr:	fc-pcsc-atr.o ${LIBS}
	${CC} ${CFLAGS} -o $@ $@.o ${LIBS} -lpcsclite

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

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

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