view simtool/Makefile @ 171:88b8257d353b

eeproms: rm all configs that went to fc-usbser-tools These configs need to be actively maintained, hence having more than one official home location for them is a bad idea.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 11 Sep 2023 05:21:56 +0000
parents ed34c8b7e2c9
children
line wrap: on
line source

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