view libutil/Makefile @ 8:34bbb0585cab

libutil: import from previous fc-pcsc-tools version
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 14 Mar 2021 05:42:37 +0000
parents
children 9c9f6adbaedb
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_pack.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 \
	plmnlist.o revnibbles.o shorthand.o
LIB=	libutil.a

all:	${LIB}

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

clean:
	rm -f *.[oa] errs