comparison 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
comparison
equal deleted inserted replaced
452:6e595f7d40e2 453:19f1aa01ea10
1 CC= gcc
2 CFLAGS= -O2
3 PROGS= gsmrec-dump pcm16-check13 pcm16-raw2wav pcm16-to-alaw pcm16-to-ulaw \ 1 PROGS= gsmrec-dump pcm16-check13 pcm16-raw2wav pcm16-to-alaw pcm16-to-ulaw \
4 pcm16-wav2raw pcm8-to-pcm16 2 pcm16-wav2raw pcm8-to-pcm16
5 LIBEFR= ../libgsmefr/libgsmefr.a ../libgsmfr2/libgsmfr2.a 3 LIBEFR= ../libgsmefr/libgsmefr.a ../libgsmfr2/libgsmfr2.a
6 LIBTEST=../libtest/libtest.a 4 LIBTEST=../libtest/libtest.a
7 INSTBIN=/opt/freecalypso/bin 5
6 include ../config.defs
7 INSTBIN=${DESTDIR}${PREFIX}/bin
8 8
9 all: ${PROGS} 9 all: ${PROGS}
10 10
11 gsmrec-dump: gsmrec-dump.o ${LIBTEST} ${LIBEFR} 11 gsmrec-dump: gsmrec-dump.o ${LIBTEST} ${LIBEFR}
12 ${CC} ${CFLAGS} -o $@ gsmrec-dump.o ${LIBTEST} ${LIBEFR} 12 ${CC} ${CFLAGS} -o $@ gsmrec-dump.o ${LIBTEST} ${LIBEFR}