view libcommon/Makefile @ 2:5b69dfc789f2

top Makefile added
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 11 Feb 2021 23:08:39 +0000
parents f7145c77b7fb
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