view libutil/Makefile @ 162:274bfd8bccd0

libutil: ICCID Luhn function implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 26 Feb 2021 21:16:45 +0000
parents 884b93362449
children 3bde063234aa
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
OBJS=	alpha_decode.o alpha_fromfile.o alpha_valid.o decimal_str.o \
	filesearch.o gsm7_decode.o gsm7_encode.o gsm7_encode_table.o \
	gsm7_unpack.o hexdigits.o hexread.o hexstr.o iccid_luhn.o nibbles2asc.o\
	number_decode.o number_encode.o pinentry.o plmncodes.o revnibbles.o \
	shorthand.o
LIB=	libutil.a

all:	${LIB}

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

clean:
	rm -f *.[oa] errs