view simtool/Makefile @ 15:5390dce9faa4

simtool/readcmd.c: missed #include <ctype.h>
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 12 Feb 2021 01:36:18 +0000
parents d4f8c511affe
children a6ca422323b9
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I/usr/include/PCSC -I../libcommon
PROG=	fc-simtool
OBJS=	a38.o chv.o curfile.o dispatch.o dumpdir.o grcard1.o grcard2.o hlread.o\
	main.o pbcommon.o pbdump.o pberase.o pbupd_file.o pbupd_imm.o \
	pbupd_immhex.o readcmd.o readops.o saverestore.o script.o select.o \
	sysmo.o telsum.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