FreeCalypso > hg > vband-misc
annotate 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 |
rev | line source |
---|---|
43
8bfc517fda3b
efr-sid: hack created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
8bfc517fda3b
efr-sid: hack created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
48
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
3 PROG1= mk-sid-test |
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
4 PROG2= mk-sid-test2 |
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
5 PROGS= ${PROG1} ${PROG2} |
43
8bfc517fda3b
efr-sid: hack created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 INPUT= dtx01-frame71.cod |
48
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
7 OUT1= efr-sid-test.gsmx |
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
8 OUT2= efr-sid-test2.gsmx |
51
914eeb3ab866
efr-sid OS#6538: generate test frames in hex form
Mychaela Falconia <falcon@freecalypso.org>
parents:
48
diff
changeset
|
9 OUT2H= efr-sid-test2.hex |
914eeb3ab866
efr-sid OS#6538: generate test frames in hex form
Mychaela Falconia <falcon@freecalypso.org>
parents:
48
diff
changeset
|
10 OUTPUTS=${OUT1} ${OUT2} ${OUT2H} |
43
8bfc517fda3b
efr-sid: hack created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
48
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
12 all: ${PROGS} ${OUTPUTS} |
43
8bfc517fda3b
efr-sid: hack created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
48
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
14 ${PROG1}: ${PROG1}.o etsi-bit-rd.o sidbits.o |
43
8bfc517fda3b
efr-sid: hack created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 ${CC} ${CFLAGS} -o $@ $^ |
8bfc517fda3b
efr-sid: hack created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 |
48
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
17 ${OUT1}: ${PROG1} ${INPUT} |
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
18 ./${PROG1} ${INPUT} $@ |
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
19 |
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
20 ${PROG2}: ${PROG2}.o etsi-bit-rd.o sidbits.o |
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
21 ${CC} ${CFLAGS} -o $@ $^ |
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
22 |
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
23 ${OUT2}: ${PROG2} ${INPUT} |
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
24 ./${PROG2} ${INPUT} $@ |
43
8bfc517fda3b
efr-sid: hack created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 |
51
914eeb3ab866
efr-sid OS#6538: generate test frames in hex form
Mychaela Falconia <falcon@freecalypso.org>
parents:
48
diff
changeset
|
26 ${OUT2H}: ${OUT2} |
914eeb3ab866
efr-sid OS#6538: generate test frames in hex form
Mychaela Falconia <falcon@freecalypso.org>
parents:
48
diff
changeset
|
27 ../utils/gen-hex-lines ${OUT2} $@ 31 |
914eeb3ab866
efr-sid OS#6538: generate test frames in hex form
Mychaela Falconia <falcon@freecalypso.org>
parents:
48
diff
changeset
|
28 |
43
8bfc517fda3b
efr-sid: hack created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 clean: |
51
914eeb3ab866
efr-sid OS#6538: generate test frames in hex form
Mychaela Falconia <falcon@freecalypso.org>
parents:
48
diff
changeset
|
30 rm -f ${PROGS} *.o *.gsmx *.hex |