comparison misc/Makefile @ 26:4bd6275d7c79

fc-pcsc-atr trivial program added
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 12 Feb 2021 15:53:12 +0000
parents simtool/Makefile@a6ca422323b9
children be9984600bf8
comparison
equal deleted inserted replaced
25:9f28700301a6 26:4bd6275d7c79
1 CC= gcc
2 CFLAGS= -O2 -I/usr/include/PCSC -I../libcommon
3 PROGS= fc-pcsc-atr
4 LIBS= ../libcommon/libcommon.a
5 INSTBIN=/opt/freecalypso/bin
6
7 all: ${PROGS}
8
9 fc-pcsc-atr: fc-pcsc-atr.o ${LIBS}
10 ${CC} ${CFLAGS} -o $@ $@.o ${LIBS} -lpcsclite
11
12 install:
13 mkdir -p ${INSTBIN}
14 install -c ${PROGS} ${INSTBIN}
15
16 clean:
17 rm -f ${PROGS} *.o