FreeCalypso > hg > freecalypso-tools
annotate libserial-posix/Makefile @ 661:fd7b447b99e3
libserial rename
The version that was previously named libserial-newlnx is now libserial-linux,
and the version that was previosly named libserial-orig is now libserial-posix.
This new naming is more in line with the objective reality of the difference,
moving away from naming based on our project history.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 05 Mar 2020 19:54:31 +0000 |
parents | libserial-orig/Makefile@d27a89068280 |
children |
rev | line source |
---|---|
248
cb1ba53a1106
beginning of factored-out libserial
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
cb1ba53a1106
beginning of factored-out libserial
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
252
d27a89068280
set_serial_nonblock() added to libserial
Mychaela Falconia <falcon@freecalypso.org>
parents:
250
diff
changeset
|
3 OBJS= baudtab.o nonblock.o openport.o setbaud.o setbyname.o |
248
cb1ba53a1106
beginning of factored-out libserial
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 LIB= libserial.a |
cb1ba53a1106
beginning of factored-out libserial
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
cb1ba53a1106
beginning of factored-out libserial
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 all: ${LIB} |
cb1ba53a1106
beginning of factored-out libserial
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
cb1ba53a1106
beginning of factored-out libserial
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 ${LIB}: ${OBJS} |
cb1ba53a1106
beginning of factored-out libserial
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 ar rcu $@ ${OBJS} |
cb1ba53a1106
beginning of factored-out libserial
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 ranlib $@ |
cb1ba53a1106
beginning of factored-out libserial
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
cb1ba53a1106
beginning of factored-out libserial
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 clean: |
cb1ba53a1106
beginning of factored-out libserial
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 rm -f *.[oa] errs |