FreeCalypso > hg > fc-sim-sniff
annotate sw/libserial/Makefile @ 58:95ed46b5f8f1 default tip
doc/Sniffing-hw-setup: mv-sniffer is here
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 04 Oct 2023 05:55:09 +0000 |
parents | c4346cdc9641 |
children |
rev | line source |
---|---|
21
c4346cdc9641
sw/libserial: based on FC host tools version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
c4346cdc9641
sw/libserial: based on FC host tools version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
c4346cdc9641
sw/libserial: based on FC host tools version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 OBJS= nonblock.o openport.o setbaud.o |
c4346cdc9641
sw/libserial: based on FC host tools version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 LIB= libserial.a |
c4346cdc9641
sw/libserial: based on FC host tools version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
c4346cdc9641
sw/libserial: based on FC host tools version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 all: ${LIB} |
c4346cdc9641
sw/libserial: based on FC host tools version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
c4346cdc9641
sw/libserial: based on FC host tools version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 ${LIB}: ${OBJS} |
c4346cdc9641
sw/libserial: based on FC host tools version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 ar rcu $@ ${OBJS} |
c4346cdc9641
sw/libserial: based on FC host tools version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 ranlib $@ |
c4346cdc9641
sw/libserial: based on FC host tools version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
c4346cdc9641
sw/libserial: based on FC host tools version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 clean: |
c4346cdc9641
sw/libserial: based on FC host tools version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 rm -f *.[oa] errs |