annotate libtwamr/Makefile @ 252:57b4053559ff

libtwamr: beginning of project
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 05 Apr 2024 01:02:23 +0000
parents libgsmefr/Makefile@0494279ae379
children 54f6bc41ed10
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
2b5770c715ee libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
2b5770c715ee libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
252
57b4053559ff libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents: 204
diff changeset
3 OBJS= basicop2.o tls_flags.o
57b4053559ff libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents: 204
diff changeset
4 HDRS= basic_op.h cnst.h int_defs.h namespace.h tw_amr.h typedef.h
57b4053559ff libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents: 204
diff changeset
5 LIB= libtwamr.a
2
2b5770c715ee libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
20
93ed41fb4038 libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 6
diff changeset
7 INSTALL_PREFIX= /usr/local
93ed41fb4038 libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 6
diff changeset
8
2
2b5770c715ee libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 all: ${LIB}
2b5770c715ee libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
40
0f1fe48bdb46 libgsmefr/Makefile: add header file dependencies
Mychaela Falconia <falcon@freecalypso.org>
parents: 38
diff changeset
11 ${OBJS}: ${HDRS}
0f1fe48bdb46 libgsmefr/Makefile: add header file dependencies
Mychaela Falconia <falcon@freecalypso.org>
parents: 38
diff changeset
12
2
2b5770c715ee libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 ${LIB}: ${OBJS}
2b5770c715ee libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 ar rcu $@ ${OBJS}
2b5770c715ee libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 ranlib $@
2b5770c715ee libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
20
93ed41fb4038 libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 6
diff changeset
17 install:
204
0494279ae379 libgsmefr/Makefile: enable library install
Mychaela Falconia <falcon@freecalypso.org>
parents: 119
diff changeset
18 mkdir -p ${INSTALL_PREFIX}/include
252
57b4053559ff libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents: 204
diff changeset
19 install -c -m 444 tw_amr.h ${INSTALL_PREFIX}/include
204
0494279ae379 libgsmefr/Makefile: enable library install
Mychaela Falconia <falcon@freecalypso.org>
parents: 119
diff changeset
20 mkdir -p ${INSTALL_PREFIX}/lib
0494279ae379 libgsmefr/Makefile: enable library install
Mychaela Falconia <falcon@freecalypso.org>
parents: 119
diff changeset
21 install -c -m 444 ${LIB} ${INSTALL_PREFIX}/lib
20
93ed41fb4038 libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 6
diff changeset
22
2
2b5770c715ee libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 clean:
2b5770c715ee libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 rm -f *.[oa] errs