FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/L1/Makefile @ 609:b8a277d81746
gsm-fw/L1/Makefile: audio_cfile added to SUBDIR for make clean
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Fri, 29 Aug 2014 04:59:24 +0000 |
parents | 2fd248f74a20 |
children | 700d450bb8da |
rev | line source |
---|---|
594
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
1 LD= arm-elf-ld |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
2 |
609
b8a277d81746
gsm-fw/L1/Makefile: audio_cfile added to SUBDIR for make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
594
diff
changeset
|
3 SUBDIR= audio_cfile cfile cust0 dsp tpudrv |
521
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 |
594
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
5 INT_PIECES= cfile/iramcode.o cust0/iramcode.o tpudrv/iramcode.o |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
6 EXT_PIECES= cfile/xipcode.o cust0/xipcode.o dsp/xipcode.o |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
7 |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
8 all: iramcode.o xipcode.o |
521
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 |
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 ${SUBDIR}: FRC |
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 cd $@; ${MAKE} ${MFLAGS} |
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 |
594
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
13 cfile/iramcode.o cfile/xipcode.o: cfile |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
14 @true |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
15 |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
16 cust0/iramcode.o cust0/xipcode.o: cust0 |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
17 @true |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
18 |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
19 dsp/xipcode.o: dsp |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
20 @true |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
21 |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
22 tpudrv/iramcode.o: tpudrv |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
23 @true |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
24 |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
25 iramcode.o: ${INT_PIECES} |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
26 ${LD} -r -o $@ ${INT_PIECES} |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
27 |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
28 xipcode.o: ${EXT_PIECES} |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
29 ${LD} -r -o $@ ${EXT_PIECES} |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
30 |
521
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
31 clean: FRC |
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
32 rm -f *.[oa] *.out *errs |
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
33 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done |
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
34 |
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
35 FRC: |