view misc/Makefile @ 26:4bd6275d7c79

fc-pcsc-atr trivial program added
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 12 Feb 2021 15:53:12 +0000
parents simtool/Makefile@a6ca422323b9
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