view uicc/Makefile @ 162:72eac15f0917

fc-simtool and fc-uicc-tool moved once again to fc-sim-tools
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 14 Mar 2021 17:36:43 +0000
parents a5e2b6e3bdf7
children
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 \
	dumpdir.o exit.o globals.o hexdump.o hexread.o hexstr.o hlread.o main.o\
	names.o pbcommon.o pbdump.o pberase.o pbupdate.o readcmd.o readops.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