view 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 source

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