comparison 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
comparison
equal deleted inserted replaced
251:946849291027 252:57b4053559ff
1 CC= gcc
2 CFLAGS= -O2
3 OBJS= basicop2.o tls_flags.o
4 HDRS= basic_op.h cnst.h int_defs.h namespace.h tw_amr.h typedef.h
5 LIB= libtwamr.a
6
7 INSTALL_PREFIX= /usr/local
8
9 all: ${LIB}
10
11 ${OBJS}: ${HDRS}
12
13 ${LIB}: ${OBJS}
14 ar rcu $@ ${OBJS}
15 ranlib $@
16
17 install:
18 mkdir -p ${INSTALL_PREFIX}/include
19 install -c -m 444 tw_amr.h ${INSTALL_PREFIX}/include
20 mkdir -p ${INSTALL_PREFIX}/lib
21 install -c -m 444 ${LIB} ${INSTALL_PREFIX}/lib
22
23 clean:
24 rm -f *.[oa] errs