view libserial-newlnx/Makefile @ 520:bfddfecc52b2

target-utils: removed duplicated mygetchar.c modules from individual programs
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 03 Jun 2019 00:40:13 +0000
parents ab8410d06ca7
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
OBJS=	baudtab.o nonblock.o openport.o setbaud.o setbyname.o
LIB=	libserial.a

all:	${LIB}

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

clean:
	rm -f *.[oa] errs