diff libcommon/Makefile @ 0:f7145c77b7fb

starting libcommon: factored out of fc-simtool
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 11 Feb 2021 22:28:45 +0000
parents
children e9e8ce12f5a5
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libcommon/Makefile	Thu Feb 11 22:28:45 2021 +0000
@@ -0,0 +1,14 @@
+CC=	gcc
+CFLAGS=	-O2 -I/usr/include/PCSC
+OBJS=	alpha_decode.o alpha_valid.o apdu.o atr.o cardconnect.o exit.o \
+	hexdump.o hexread.o hexstr.o names.o
+LIB=	libcommon.a
+
+all:	${LIB}
+
+${LIB}:	${OBJS}
+	ar rcu $@ ${OBJS}
+	ranlib $@
+
+clean:
+	rm -f *.[oa] errs