view libutil/Makefile @ 157:f064dbcc5f41

libutil split from libcommon
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 26 Feb 2021 20:19:58 +0000
parents libcommon/Makefile@d991944aa5f3
children 3698c8192d2d
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 hexread.o hexstr.o number_decode.o number_encode.o \
	pinentry.o plmncodes.o revnibbles.o
LIB=	libutil.a

all:	${LIB}

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

clean:
	rm -f *.[oa] errs