diff libgsmefr/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 1c514150c033
children cb1d1ea7f2c5
line wrap: on
line diff
--- a/libgsmefr/Makefile	Fri May 10 03:45:47 2024 +0000
+++ b/libgsmefr/Makefile	Fri May 10 05:45:46 2024 +0000
@@ -1,5 +1,3 @@
-CC=	gcc
-CFLAGS=	-O2
 OBJS=	agc.o autocorr.o az_lsp.o basicops.o bfi_nodata.o c1035pf.o cod_12k2.o \
 	convolve.o d1035pf.o d_gains.o d_homing.o d_plsf_5.o dec_12k2.o \
 	dec_create.o dec_lag6.o dec_main.o dec_wrap.o dtx_common.o dtx_dec.o \
@@ -15,7 +13,8 @@
 	no_count.h oper_32b.h q_plsf5_tab.h sig_proc.h typedef.h vad.h
 LIB=	libgsmefr.a
 
-INSTALL_PREFIX=	/usr/local
+include ../config.defs
+INSTALL_PREFIX=${DESTDIR}${PREFIX}
 
 all:	${LIB}