annotate sw/libserial/Makefile @ 6:a10657f8024e

sw: move initflush.c module into libserial
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 12 Oct 2024 19:42:19 +0000
parents a4918a161d2e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
a4918a161d2e sw: starting with libserial, copied from fc-sim-sniff
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
a4918a161d2e sw: starting with libserial, copied from fc-sim-sniff
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
6
a10657f8024e sw: move initflush.c module into libserial
Mychaela Falconia <falcon@freecalypso.org>
parents: 2
diff changeset
3 OBJS= initflush.o nonblock.o openport.o setbaud.o
2
a4918a161d2e sw: starting with libserial, copied from fc-sim-sniff
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 LIB= libserial.a
a4918a161d2e sw: starting with libserial, copied from fc-sim-sniff
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
a4918a161d2e sw: starting with libserial, copied from fc-sim-sniff
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 all: ${LIB}
a4918a161d2e sw: starting with libserial, copied from fc-sim-sniff
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
a4918a161d2e sw: starting with libserial, copied from fc-sim-sniff
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 ${LIB}: ${OBJS}
a4918a161d2e sw: starting with libserial, copied from fc-sim-sniff
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 ar rcu $@ ${OBJS}
a4918a161d2e sw: starting with libserial, copied from fc-sim-sniff
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 ranlib $@
a4918a161d2e sw: starting with libserial, copied from fc-sim-sniff
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
a4918a161d2e sw: starting with libserial, copied from fc-sim-sniff
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 clean:
a4918a161d2e sw: starting with libserial, copied from fc-sim-sniff
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 rm -f *.[oa] errs