view simtool/Makefile @ 141:0b8a936f4542

fc-uicc-tool: need to select MF before DF_TELECOM
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 04 Feb 2021 05:04:12 +0000
parents 141489d31667
children 431194b772e1
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I/usr/include/PCSC
PROG=	fc-simtool
OBJS=	a38.o alpha_decode.o alpha_valid.o apdu.o atr.o cardconnect.o chv.o \
	dispatch.o exit.o globals.o hexdump.o hexread.o hlread.o main.o names.o\
	pbcommon.o pbdump.o pberase.o pbupdate.o readcmd.o readops.o \
	saverestore.o script.o select.o sysmo.o telsum.o writecmd.o writeops.o
INSTBIN=/opt/freecalypso/bin

all:	${PROG}

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

install:
	mkdir -p ${INSTBIN}
	install -c ${PROG} ${INSTBIN}

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