diff miscutil/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 3816ba89a5a0
children cb1d1ea7f2c5
line wrap: on
line diff
--- a/miscutil/Makefile	Fri May 10 03:45:47 2024 +0000
+++ b/miscutil/Makefile	Fri May 10 05:45:46 2024 +0000
@@ -1,10 +1,10 @@
-CC=	gcc
-CFLAGS=	-O2
 PROGS=	gsmrec-dump pcm16-check13 pcm16-raw2wav pcm16-to-alaw pcm16-to-ulaw \
 	pcm16-wav2raw pcm8-to-pcm16
 LIBEFR=	../libgsmefr/libgsmefr.a ../libgsmfr2/libgsmfr2.a
 LIBTEST=../libtest/libtest.a
-INSTBIN=/opt/freecalypso/bin
+
+include ../config.defs
+INSTBIN=${DESTDIR}${PREFIX}/bin
 
 all:	${PROGS}