FreeCalypso > hg > themwi-system-sw
annotate libnumdb/Makefile @ 236:38cac1cbe010
libnumdb2: port check_short.c
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 14 Aug 2023 14:16:07 -0800 |
parents | 1d590563e64b |
children |
rev | line source |
---|---|
8
ffd48df829a7
beginning of libnumdb: reading the binary file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
ffd48df829a7
beginning of libnumdb: reading the binary file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
11
1d590563e64b
libnumdb: implement short number lookup
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
3 OBJS= check_nanp.o check_short.o readbin.o refresh.o |
8
ffd48df829a7
beginning of libnumdb: reading the binary file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 LIB= libnumdb.a |
ffd48df829a7
beginning of libnumdb: reading the binary file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
ffd48df829a7
beginning of libnumdb: reading the binary file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 all: ${LIB} |
ffd48df829a7
beginning of libnumdb: reading the binary file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
ffd48df829a7
beginning of libnumdb: reading the binary file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 ${LIB}: ${OBJS} |
ffd48df829a7
beginning of libnumdb: reading the binary file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 ar rcu $@ ${OBJS} |
ffd48df829a7
beginning of libnumdb: reading the binary file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 ranlib $@ |
ffd48df829a7
beginning of libnumdb: reading the binary file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
ffd48df829a7
beginning of libnumdb: reading the binary file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 clean: |
ffd48df829a7
beginning of libnumdb: reading the binary file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 rm -f *.[oa] errs |