view efr-sid/Makefile @ 50:0db059f4632d

efr-sid OS#6538: more sensible 2-bit errors
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 12 Aug 2024 02:49:28 +0000
parents 3e632126e099
children 914eeb3ab866
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG1=	mk-sid-test
PROG2=	mk-sid-test2
PROGS=	${PROG1} ${PROG2}
INPUT=	dtx01-frame71.cod
OUT1=	efr-sid-test.gsmx
OUT2=	efr-sid-test2.gsmx
OUTPUTS=${OUT1} ${OUT2}

all:	${PROGS} ${OUTPUTS}

${PROG1}:	${PROG1}.o etsi-bit-rd.o sidbits.o
	${CC} ${CFLAGS} -o $@ $^

${OUT1}:	${PROG1} ${INPUT}
	./${PROG1} ${INPUT} $@

${PROG2}:	${PROG2}.o etsi-bit-rd.o sidbits.o
	${CC} ${CFLAGS} -o $@ $^

${OUT2}:	${PROG2} ${INPUT}
	./${PROG2} ${INPUT} $@

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