view simtool/Makefile @ 93:6041c601304d

fcsim1-mkprov: revert OTA key addition It appears that GrcardSIM2 cards (which is what we got for FCSIM1) do not support OTA after all, contrary to what we were previously led to believe by some tech support emails from Grcard - apparently those support emails and OTA descriptions referred to some other card model(s).
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 21 Apr 2021 05:38:39 +0000
parents cca7d0528f89
children a5cfe5135701
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
CPPFLAGS=-I../libcommon
PROG=	fc-simtool
OBJS=	a38.o bfsearch.o chv.o chvext.o chvfunc.o cmdtab.o curfile.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 oplprog.o \
	pbcommon.o pbdump.o pberase.o pbrestore.o pbupd_imm.o pbupd_immhex.o \
	plmnsel.o pnndump.o pnnprog.o readcmd.o readef.o readops.o restorebin.o\
	savebin.o select.o sjs1_hacks.o smserase.o smsp_common.o smsp_dump.o \
	smsp_erase.o smsp_restore.o smsp_set.o sstlist.o sstprog.o stktest.o \
	sws.o telsum.o usersum.o writecmd.o writeops.o
LIBS=	../libcommon/libcommon.a ../libutil/libutil.a

INSTALL_PREFIX=	/opt/freecalypso

INSTBIN=${INSTALL_PREFIX}/bin

all:	${PROG}

${PROG}:	${OBJS} ${LIBS}
	${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS}

install:
	mkdir -p ${INSTBIN}
	install -c ${PROG} ${INSTBIN}

clean:
	rm -f ${PROG} *.o