view simtool/Makefile @ 117:06e2d5c60cbd

fc-simtool: pb-update-imm command implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 28 Jan 2021 03:41:06 +0000
parents 34c090f35515
children b391204d3cd5
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I/usr/include/PCSC
PROG=	fc-simtool
OBJS=	alpha_decode.o alpha_valid.o apdu.o atr.o cardconnect.o chv.o \
	dispatch.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 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