view uicc/Makefile @ 150:0d007555ac89

libcommon/file_id.h: add FILEID_ADF
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 25 Feb 2021 16:55:22 +0000
parents c13ed9194ecd
children d9dd52bc403b
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 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