view libcommon/Makefile @ 13:d4f8c511affe

simtool: pbupdate.c split into separate modules for each command
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 12 Feb 2021 01:28:53 +0000
parents 8a34f5b7c812
children b8d27c72747a
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 chkblank.o \
	dumpdirfunc.o exit.o gsm7_encode_table.o hexdump.o hexread.o hexstr.o \
	names.o number_decode.o number_encode.o pbdumpfunc.o pinentry.o \
	revnibbles.o
LIB=	libcommon.a

all:	${LIB}

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

clean:
	rm -f *.[oa] errs