view dev/Makefile @ 32:9639a44ae2e7

dev: efr-bit-packing helper program
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 24 Nov 2022 01:41:49 +0000
parents 6780b23654bd
children 3b5958f28a40
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	efr-bit-packing gsm0611-silence-fr
DATAOUT=efr-bit-packing.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 > $@

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}