view miscutil/Makefile @ 194:f151d6c18b31

libgsmefr/enc_lag6.c: perf opt
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 04 Jan 2023 03:36:39 +0000
parents b092a510141e
children dc52c3857bf7
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	gsmrec-dump pcm16-raw2wav pcm16-wav2raw
LIBEFR=	../libgsmefr/libgsmefr.a
LIBTEST=../libtest/libtest.a
INSTBIN=/opt/freecalypso/bin

all:	${PROGS}

gsmrec-dump:	gsmrec-dump.o ${LIBTEST} ${LIBEFR}
	${CC} ${CFLAGS} -o $@ gsmrec-dump.o ${LIBTEST} ${LIBEFR} -lgsm

pcm16-raw2wav:	raw2wav.o ${LIBTEST}
	${CC} ${CFLAGS} -o $@ raw2wav.o ${LIBTEST}

pcm16-wav2raw:	wav2raw.o ${LIBTEST}
	${CC} ${CFLAGS} -o $@ wav2raw.o ${LIBTEST}

install:
	mkdir -p ${INSTBIN}
	install -c ${PROGS} ${INSTBIN}

clean:
	rm -f *.o *.out ${PROGS}