view libcommon/Makefile @ 107:f1836c8d36cb

hexdump output commands reworked to support redirection
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 19 Feb 2021 06:43:01 +0000
parents 3ef90bd13fbe
children 8e70ee7c194f
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I/usr/include/PCSC
OBJS=	alpha_decode.o alpha_fromfile.o alpha_valid.o apdu.o atr.o \
	cardconnect.o chkblank.o decimal_str.o dumpdirfunc.o exit.o \
	globalopts.o gsm7_decode.o gsm7_encode.o gsm7_encode_table.o \
	gsm7_unpack.o hexdump.o hexread.o hexstr.o names.o number_decode.o \
	number_encode.o pinentry.o plmncodes.o revnibbles.o
LIB=	libcommon.a

all:	${LIB}

${LIB}:	${OBJS}
	ar rcu $@ ${OBJS}
	ranlib $@

clean:
	rm -f *.[oa] errs