comparison efr-sid/Makefile @ 51:914eeb3ab866

efr-sid OS#6538: generate test frames in hex form
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 12 Aug 2024 03:06:17 +0000
parents 3e632126e099
children fd498c6898a8
comparison
equal deleted inserted replaced
50:0db059f4632d 51:914eeb3ab866
4 PROG2= mk-sid-test2 4 PROG2= mk-sid-test2
5 PROGS= ${PROG1} ${PROG2} 5 PROGS= ${PROG1} ${PROG2}
6 INPUT= dtx01-frame71.cod 6 INPUT= dtx01-frame71.cod
7 OUT1= efr-sid-test.gsmx 7 OUT1= efr-sid-test.gsmx
8 OUT2= efr-sid-test2.gsmx 8 OUT2= efr-sid-test2.gsmx
9 OUTPUTS=${OUT1} ${OUT2} 9 OUT2H= efr-sid-test2.hex
10 OUTPUTS=${OUT1} ${OUT2} ${OUT2H}
10 11
11 all: ${PROGS} ${OUTPUTS} 12 all: ${PROGS} ${OUTPUTS}
12 13
13 ${PROG1}: ${PROG1}.o etsi-bit-rd.o sidbits.o 14 ${PROG1}: ${PROG1}.o etsi-bit-rd.o sidbits.o
14 ${CC} ${CFLAGS} -o $@ $^ 15 ${CC} ${CFLAGS} -o $@ $^
20 ${CC} ${CFLAGS} -o $@ $^ 21 ${CC} ${CFLAGS} -o $@ $^
21 22
22 ${OUT2}: ${PROG2} ${INPUT} 23 ${OUT2}: ${PROG2} ${INPUT}
23 ./${PROG2} ${INPUT} $@ 24 ./${PROG2} ${INPUT} $@
24 25
26 ${OUT2H}: ${OUT2}
27 ../utils/gen-hex-lines ${OUT2} $@ 31
28
25 clean: 29 clean:
26 rm -f ${PROGS} *.o *.gsmx 30 rm -f ${PROGS} *.o *.gsmx *.hex