view misc/Makefile @ 57:10030acba82f

fc-simtool *-erase-range commands: allow "end" keyword for the last record to be erased
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 13 Feb 2021 20:28:44 +0000
parents be9984600bf8
children f064dbcc5f41
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