diff simtool/Makefile @ 85:b57cf64ece29

fc-simtool project started
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 24 Jan 2021 00:32:10 +0000
parents
children 2a0d1d5b9313
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/simtool/Makefile	Sun Jan 24 00:32:10 2021 +0000
@@ -0,0 +1,12 @@
+CC=	gcc
+CFLAGS=	-O2 -I/usr/include/PCSC
+PROG=	fc-simtool
+OBJS=	apdu.o atr.o cardconnect.o dispatch.o globals.o main.o select.o
+
+all:	${PROG}
+
+${PROG}:	${OBJS}
+	${CC} ${CFLAGS} -o $@ ${OBJS} -lpcsclite
+
+clean:
+	rm -f ${PROG} *.o