view simtool/Makefile @ 204:a462012c9e67

fc-simtool: update-rec-fill command implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 07 Mar 2021 04:48:37 +0000
parents bc127ba44488
children eb16c8841486
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I/usr/include/PCSC -I../libcommon
PROG=	fc-simtool
OBJS=	a38.o bfsearch.o chv.o chvext.o curfile.o dispatch.o dumpdir.o \
	erasefile.o fplmn.o getresp.o grcard1.o grcard2.o hlread.o \
	inval_rehab.o lndwrite.o main.o miscadm.o opldump.o pbcommon.o pbdump.o\
	pberase.o pbrestore.o pbupd_imm.o pbupd_immhex.o plmnsel.o pnndump.o \
	readcmd.o readef.o readops.o restorebin.o savebin.o script.o select.o \
	smserase.o smsp_common.o smsp_dump.o smsp_erase.o smsp_restore.o \
	smsp_set.o sstlist.o stktest.o sysmo.o telsum.o usersum.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