view uicc/Makefile @ 184:8d073ff62c48

fc-simtool: imsi command does higher-level parsing, the old version is now imsi-raw
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 06 Mar 2021 05:44:17 +0000
parents f064dbcc5f41
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I/usr/include/PCSC -I../libcommon
PROG=	fc-uicc-tool
OBJS=	bfsearch.o 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 ../libutil/libutil.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