diff libserial-newlnx/Makefile @ 255:ab8410d06ca7

libserial-newlnx: new way implemented, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 22 Sep 2017 00:19:41 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libserial-newlnx/Makefile	Fri Sep 22 00:19:41 2017 +0000
@@ -0,0 +1,13 @@
+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