view simtool/Makefile @ 103:90eff13a72fd

fc-simtool: implemented alpha field decoding and spn command
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 25 Jan 2021 04:54:47 +0000
parents 454ff8bd0b83
children a60645b75a57
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I/usr/include/PCSC
PROG=	fc-simtool
OBJS=	alpha_decode.o alpha_valid.o apdu.o atr.o cardconnect.o dispatch.o \
	globals.o hexdump.o hexread.o hlread.o main.o names.o readcmd.o \
	readops.o saverestore.o select.o telsum.o writecmd.o writeops.o

all:	${PROG}

${PROG}:	${OBJS}
	${CC} ${CFLAGS} -o $@ ${OBJS} -lpcsclite

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