FreeCalypso > hg > fc-pcsc-tools
diff uicc/Makefile @ 22:1b1468869ccf
new trimmed fc-uicc-tool is here
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 12 Feb 2021 04:34:53 +0000 |
parents | |
children | 5d45cde6e4b2 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/uicc/Makefile Fri Feb 12 04:34:53 2021 +0000 @@ -0,0 +1,19 @@ +CC= gcc +CFLAGS= -O2 -I/usr/include/PCSC -I../libcommon +PROG= fc-uicc-tool +OBJS= dispatch.o dumpdir.o hlread.o main.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