diff efrtest/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 e80632ccb745
children cb1d1ea7f2c5
line wrap: on
line diff
--- a/efrtest/Makefile	Fri May 10 03:45:47 2024 +0000
+++ b/efrtest/Makefile	Fri May 10 05:45:46 2024 +0000
@@ -1,12 +1,12 @@
-CC=	gcc
-CFLAGS=	-O2
 PROGS=	gsmefr-cod-parse gsmefr-cod2gsmx gsmefr-dec-parse gsmefr-decode \
 	gsmefr-decode-r gsmefr-dlcap-dec gsmefr-dlcap-gsmx gsmefr-dlcap-parse \
 	gsmefr-encode gsmefr-encode-r gsmefr-etsi-dec gsmefr-etsi-enc \
 	gsmefr-rec2etsi
 LIBEFR=	../libgsmefr/libgsmefr.a
 LIBTEST=../libtest/libtest.a
-INSTBIN=/opt/freecalypso/bin
+
+include ../config.defs
+INSTBIN=${DESTDIR}${PREFIX}/bin
 
 all:	${PROGS}