diff libcommon/Makefile @ 9:c9ef9e91dd8e

new libcommon, initial version
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 14 Mar 2021 06:55:38 +0000
parents
children b7ee2e85686b
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libcommon/Makefile	Sun Mar 14 06:55:38 2021 +0000
@@ -0,0 +1,14 @@
+CC=	gcc
+CFLAGS=	-O2
+OBJS=	apdu.o apducmd.o atr.o backend.o be_init.o chkblank.o dumpdirfunc.o \
+	exit.o globalopts.o hexdump.o localcd.o names.o
+LIB=	libcommon.a
+
+all:	${LIB}
+
+${LIB}:	${OBJS}
+	ar rcu $@ ${OBJS}
+	ranlib $@
+
+clean:
+	rm -f *.[oa] errs