FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/L1/Makefile @ 615:13e55e310eea
gsm-fw/L1/Makefile: stand added to SUBDIR for make clean
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Fri, 29 Aug 2014 18:41:55 +0000 |
parents | 700d450bb8da |
children | d6f0892cdf1e |
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 |
615
13e55e310eea
gsm-fw/L1/Makefile: stand added to SUBDIR for make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
612
diff
changeset
|
3 SUBDIR= audio_cfile cfile cust0 dsp stand 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 |
612
700d450bb8da
L1: audio_cfile included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
609
diff
changeset
|
6 EXT_PIECES= audio_cfile/xipcode.o cfile/xipcode.o cust0/xipcode.o \ |
700d450bb8da
L1: audio_cfile included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
609
diff
changeset
|
7 dsp/xipcode.o |
594
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
8 |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
9 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
|
10 |
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 ${SUBDIR}: FRC |
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 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
|
13 |
612
700d450bb8da
L1: audio_cfile included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
609
diff
changeset
|
14 audio_cfile/xipcode.o: audio_cfile |
700d450bb8da
L1: audio_cfile included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
609
diff
changeset
|
15 @true |
700d450bb8da
L1: audio_cfile included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
609
diff
changeset
|
16 |
594
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
17 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
|
18 @true |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
19 |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
20 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
|
21 @true |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
22 |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
23 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
|
24 @true |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
25 |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
26 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
|
27 @true |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
28 |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
29 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
|
30 ${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
|
31 |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
32 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
|
33 ${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
|
34 |
521
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
35 clean: FRC |
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
36 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
|
37 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
|
38 |
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
39 FRC: |