view uicc/Makefile @ 152:77832c9f2001

fc-uicc-tool: elem_select_op() implemented like in fc-simtool
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 25 Feb 2021 17:22:20 +0000
parents d9dd52bc403b
children 2ef31306be22
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I/usr/include/PCSC -I../libcommon
PROG=	fc-uicc-tool
OBJS=	createfile.o dispatch.o dumpdir.o getresp.o hlread.o main.o pins.o \
	readcmd.o readops.o script.o select.o writecmd.o writeops.o
LIBS=	../libcommon/libcommon.a
INSTBIN=/opt/freecalypso/bin

all:	${PROG}

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

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

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