view simtool/Makefile @ 107:f1836c8d36cb

hexdump output commands reworked to support redirection
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 19 Feb 2021 06:43:01 +0000
parents 9b2cb2b9c910
children d0d1c0b35831
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I/usr/include/PCSC -I../libcommon
PROG=	fc-simtool
OBJS=	a38.o chv.o chvext.o curfile.o dispatch.o dumpdir.o fplmn.o grcard1.o \
	grcard2.o hlread.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 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 sysmo.o telsum.o usersum.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