FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/L1/dsp/Makefile @ 899:ab20a5e9dbf3
gsm-fw/L1/dsp code made into a library in preparation for adding patch codes
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Sun, 05 Jul 2015 02:50:49 +0000 |
parents | 25a3095e8a98 |
children | bacf366e8ce3 |
rev | line source |
---|---|
586
25a3095e8a98
L1: dsp subdir added to the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 CC= arm-elf-gcc |
899
ab20a5e9dbf3
gsm-fw/L1/dsp code made into a library in preparation for adding patch codes
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
2 AR= arm-elf-ar |
ab20a5e9dbf3
gsm-fw/L1/dsp code made into a library in preparation for adding patch codes
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
3 RANLIB= arm-elf-ranlib |
ab20a5e9dbf3
gsm-fw/L1/dsp code made into a library in preparation for adding patch codes
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
4 |
586
25a3095e8a98
L1: dsp subdir added to the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb |
25a3095e8a98
L1: dsp subdir added to the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 |
25a3095e8a98
L1: dsp subdir added to the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 OBJS= leadapi.o leadboot.o |
25a3095e8a98
L1: dsp subdir added to the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 |
899
ab20a5e9dbf3
gsm-fw/L1/dsp code made into a library in preparation for adding patch codes
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
9 all: libdsp.a |
586
25a3095e8a98
L1: dsp subdir added to the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 |
899
ab20a5e9dbf3
gsm-fw/L1/dsp code made into a library in preparation for adding patch codes
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
11 libdsp.a: ${OBJS} |
ab20a5e9dbf3
gsm-fw/L1/dsp code made into a library in preparation for adding patch codes
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
12 ${AR} cru $@ ${OBJS} |
ab20a5e9dbf3
gsm-fw/L1/dsp code made into a library in preparation for adding patch codes
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
13 ${RANLIB} $@ |
586
25a3095e8a98
L1: dsp subdir added to the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 |
25a3095e8a98
L1: dsp subdir added to the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 clean: |
25a3095e8a98
L1: dsp subdir added to the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 rm -f *.[oa] *.out *errs |