diff libtwamr/Makefile @ 453:19f1aa01ea10

new approach to config & build for ThemWi software
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 10 May 2024 05:45:46 +0000
parents 426c04621b51
children cb1d1ea7f2c5
line wrap: on
line diff
--- a/libtwamr/Makefile	Fri May 10 03:45:47 2024 +0000
+++ b/libtwamr/Makefile	Fri May 10 05:45:46 2024 +0000
@@ -1,5 +1,3 @@
-CC=	gcc
-CFLAGS=	-O2
 OBJS=	a_refl.o agc.o autocorr.o az_lsp.o b_cn_cod.o basicop2.o bgnscd.o \
 	bitno.o bits2prm.o c1035pf.o c2_11pf.o c2_9pf.o c3_14pf.o c4_17pf.o \
 	c8_31pf.o c_g_aver.o calc_cor.o calc_en.o cbsearch.o cl_ltp.o cod_amr.o\
@@ -40,7 +38,8 @@
 	window.h
 LIB=	libtwamr.a
 
-INSTALL_PREFIX=	/usr/local
+include ../config.defs
+INSTALL_PREFIX=${DESTDIR}${PREFIX}
 
 all:	${LIB}