view uicc/Makefile @ 131:7305f2e63d66

fc-simtool: '!' escape in command dispatch
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 20 Feb 2021 22:13:54 +0000
parents 5d45cde6e4b2
children c13ed9194ecd
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I/usr/include/PCSC -I../libcommon
PROG=	fc-uicc-tool
OBJS=	dispatch.o dumpdir.o hlread.o main.o pins.o readcmd.o readops.o \
	script.o select.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