FreeCalypso > hg > themwi-nanp
annotate libnumdb/Makefile @ 15:a24f0794ab4d default tip
INSTALL: document the new way
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Tue, 21 May 2024 00:29:21 +0000 |
| parents | 78319ed870dc |
| children |
| rev | line source |
|---|---|
|
14
78319ed870dc
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
1 CPPFLAGS=-I../build-inc |
|
1
6534965175dd
libnumdb ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
2 OBJS= check_nanp.o check_short.o readbin.o refresh.o |
|
6534965175dd
libnumdb ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
3 LIB= libnumdb.a |
|
14
78319ed870dc
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
4 |
|
78319ed870dc
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
5 include ../config.defs |
|
0
159dd90eeafe
beginning, libnumutil compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
|
159dd90eeafe
beginning, libnumutil compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 all: ${LIB} |
|
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 ${LIB}: ${OBJS} |
|
159dd90eeafe
beginning, libnumutil compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 ar rcu $@ ${OBJS} |
|
159dd90eeafe
beginning, libnumutil compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 ranlib $@ |
|
159dd90eeafe
beginning, libnumutil compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
|
11
3d6cfb615d90
add make install hierarchy
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
13 install: |
|
14
78319ed870dc
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
14 mkdir -p ${DESTDIR}${libdir} |
|
78319ed870dc
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
15 install -c -m 644 ${LIB} ${DESTDIR}${libdir} |
|
11
3d6cfb615d90
add make install hierarchy
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
16 |
|
0
159dd90eeafe
beginning, libnumutil compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 clean: |
|
159dd90eeafe
beginning, libnumutil compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 rm -f *.[oa] errs |
