view libserial-orig/Makefile @ 472:368ffb8a08e5

CHANGES: CC= and CFLAGS= override-ability documented
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 12 Feb 2019 00:30:37 +0000
parents d27a89068280
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