view dev/Makefile @ 8:d5b888e6a05b

libtest: add Makefile
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 19 Nov 2022 23:06:03 +0000
parents 6780b23654bd
children 9639a44ae2e7
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	gsm0611-silence-fr
DATAOUT=gsm0611-silence-fr.out

all:	${PROGS} ${DATAOUT}

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}