FreeCalypso > hg > themwi-nanp
annotate libnumdb/Makefile @ 12:1ebc312f4b69
add README
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Wed, 13 Dec 2023 05:53:17 +0000 |
| parents | 3d6cfb615d90 |
| children | 78319ed870dc |
| rev | line source |
|---|---|
|
11
3d6cfb615d90
add make install hierarchy
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
1 INSTALL_PREFIX= /opt/themwi |
|
3d6cfb615d90
add make install hierarchy
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
2 |
|
0
159dd90eeafe
beginning, libnumutil compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 CC= gcc |
|
159dd90eeafe
beginning, libnumutil compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 CFLAGS= -O2 -I../build-inc |
|
1
6534965175dd
libnumdb ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
5 OBJS= check_nanp.o check_short.o readbin.o refresh.o |
|
6534965175dd
libnumdb ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
6 LIB= libnumdb.a |
|
11
3d6cfb615d90
add make install hierarchy
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
7 INSTDIR=${INSTALL_PREFIX}/lib |
|
0
159dd90eeafe
beginning, libnumutil compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
|
159dd90eeafe
beginning, libnumutil compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 all: ${LIB} |
|
159dd90eeafe
beginning, libnumutil compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
|
159dd90eeafe
beginning, libnumutil compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 ${LIB}: ${OBJS} |
|
159dd90eeafe
beginning, libnumutil compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 ar rcu $@ ${OBJS} |
|
159dd90eeafe
beginning, libnumutil compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 ranlib $@ |
|
159dd90eeafe
beginning, libnumutil compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 |
|
11
3d6cfb615d90
add make install hierarchy
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
15 install: |
|
3d6cfb615d90
add make install hierarchy
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
16 mkdir -p ${INSTDIR} |
|
3d6cfb615d90
add make install hierarchy
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
17 install -c -m 644 ${LIB} ${INSTDIR} |
|
3d6cfb615d90
add make install hierarchy
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
18 |
|
0
159dd90eeafe
beginning, libnumutil compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 clean: |
|
159dd90eeafe
beginning, libnumutil compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 rm -f *.[oa] errs |
