view uicc/Makefile @ 136:a21d348e01db

fc-uicc-tool: pb-dump command ported over
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 04 Feb 2021 03:40:55 +0000
parents 51d6aaa43a7b
children c331560c15a4
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I/usr/include/PCSC
PROG=	fc-uicc-tool
OBJS=	alpha_decode.o alpha_valid.o apdu.o atr.o cardconnect.o dispatch.o \
	exit.o globals.o hexdump.o hlread.o main.o names.o pbcommon.o pbdump.o \
	readcmd.o readops.o script.o select.o telsum.o

all:	${PROG}

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

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