view simtool/Makefile @ 92:0ead9444a698

fc-simtool: read operation functions factored out
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 24 Jan 2021 19:59:10 +0000
parents 53e2c00566af
children a5dfab380a90
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I/usr/include/PCSC
PROG=	fc-simtool
OBJS=	apdu.o atr.o cardconnect.o dispatch.o globals.o hexdump.o main.o \
	names.o readcmd.o readops.o select.o

all:	${PROG}

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

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