FreeCalypso > hg > vband-misc
annotate 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 |
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 |
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
9 OUTPUTS=${OUT1} ${OUT2} |
43
8bfc517fda3b
efr-sid: hack created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
48
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
11 all: ${PROGS} ${OUTPUTS} |
43
8bfc517fda3b
efr-sid: hack created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
48
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
13 ${PROG1}: ${PROG1}.o etsi-bit-rd.o sidbits.o |
43
8bfc517fda3b
efr-sid: hack created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 ${CC} ${CFLAGS} -o $@ $^ |
8bfc517fda3b
efr-sid: hack created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 |
48
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
16 ${OUT1}: ${PROG1} ${INPUT} |
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
17 ./${PROG1} ${INPUT} $@ |
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
18 |
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
19 ${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
|
20 ${CC} ${CFLAGS} -o $@ $^ |
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
21 |
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
22 ${OUT2}: ${PROG2} ${INPUT} |
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
23 ./${PROG2} ${INPUT} $@ |
43
8bfc517fda3b
efr-sid: hack created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 |
8bfc517fda3b
efr-sid: hack created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 clean: |
48
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
26 rm -f ${PROGS} *.o *.gsmx |