FreeCalypso > hg > fc-pcsc-tools
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 21:d4dc86195382 | 22:1b1468869ccf |
|---|---|
| 1 CC= gcc | |
| 2 CFLAGS= -O2 -I/usr/include/PCSC -I../libcommon | |
| 3 PROG= fc-uicc-tool | |
| 4 OBJS= dispatch.o dumpdir.o hlread.o main.o readcmd.o readops.o script.o \ | |
| 5 select.o writecmd.o writeops.o | |
| 6 LIBS= ../libcommon/libcommon.a | |
| 7 INSTBIN=/opt/freecalypso/bin | |
| 8 | |
| 9 all: ${PROG} | |
| 10 | |
| 11 ${PROG}: ${OBJS} ${LIBS} | |
| 12 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} -lpcsclite | |
| 13 | |
| 14 install: | |
| 15 mkdir -p ${INSTBIN} | |
| 16 install -c ${PROG} ${INSTBIN} | |
| 17 | |
| 18 clean: | |
| 19 rm -f ${PROG} *.o |
