diff frtest/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/frtest/Makefile	Fri May 10 03:45:47 2024 +0000
+++ b/frtest/Makefile	Fri May 10 05:45:46 2024 +0000
@@ -1,11 +1,11 @@
-CC=	gcc
-CFLAGS=	-O2
 PROGS=	gsmfr-cod2std gsmfr-decode gsmfr-decode-r gsmfr-decode-rb \
 	gsmfr-dlcap-gsmx gsmfr-dlcap-parse gsmfr-encode gsmfr-encode-r \
 	gsmfr-preproc
 LIBFR2=	../libgsmfr2/libgsmfr2.a
 LIBTEST=../libtest/libtest.a
-INSTBIN=/opt/freecalypso/bin
+
+include ../config.defs
+INSTBIN=${DESTDIR}${PREFIX}/bin
 
 all:	${PROGS}