comparison fr-sid/Makefile @ 56:e95e145f4b32

fr-sid: generate test sequence
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 22 Aug 2024 06:39:12 +0000
parents efr-sid/Makefile@fd498c6898a8
children
comparison
equal deleted inserted replaced
55:f27bc1e17311 56:e95e145f4b32
1 CC= gcc
2 CFLAGS= -O2
3 PROG= mk-sid-test
4 INPUT= goodsp-frame41.gsmx
5
6 OUT_NATIVE= fr1-sid-test.gsmx
7 OUT_HEX= fr1-sid-test.hex
8 OUT_TCH= fr1-sid-test.tch
9 OUTPUTS= ${OUT_NATIVE} ${OUT_HEX} ${OUT_TCH}
10
11 all: ${PROG} ${OUTPUTS}
12
13 ${PROG}: ${PROG}.c
14 ${CC} ${CFLAGS} -o $@ $@.c
15
16 ${OUT_NATIVE}: ${PROG} ${INPUT}
17 ./${PROG} ${INPUT} $@
18
19 ${OUT_HEX}: ${OUT_NATIVE}
20 ../utils/gen-hex-lines ${OUT_NATIVE} $@ 33
21
22 ${OUT_TCH}: ${OUT_NATIVE}
23 fc-fr2tch ${OUT_NATIVE} $@
24
25 clean:
26 rm -f ${PROG} *.o ${OUT_NATIVE} *.hex *.tch