annotate libnumutil/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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
0
159dd90eeafe beginning, libnumutil compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 OBJS= digit_groups.o nanp_valid.o numstring.o
159dd90eeafe beginning, libnumutil compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 LIB= libnumutil.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: 0
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: 0
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