view misc/Makefile @ 29:d368051576d0

fc-simtool & fc-uicc-tool: add explicit atr command
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 12 Feb 2021 16:19:11 +0000
parents 4bd6275d7c79
children be9984600bf8
line wrap: on
line source

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

all:	${PROGS}

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

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

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