view dev/Makefile @ 80:92479d9a8e38

libgsmefr: oper_32b.c compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 26 Nov 2022 07:01:58 +0000
parents 3b5958f28a40
children 68215020852b
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	efr-bit-packing efr-sid-insert gsm0611-silence-fr
DATAOUT=efr-bit-packing.out efr-sid-insert.out gsm0611-silence-fr.out

all:	${PROGS} ${DATAOUT}

efr-bit-packing:	efr-bit-packing.c
	${CC} ${CFLAGS} -o $@ $@.c

efr-bit-packing.out:	efr-bit-packing
	./efr-bit-packing > $@

efr-sid-insert:		efr-sid-insert.c
	${CC} ${CFLAGS} -o $@ $@.c

efr-sid-insert.out:	efr-sid-insert
	./efr-sid-insert > $@

gsm0611-silence-fr:	gsm0611-silence-fr.c
	${CC} ${CFLAGS} -o $@ $@.c -lgsm

gsm0611-silence-fr.out:	gsm0611-silence-fr
	./gsm0611-silence-fr > $@

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