FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/comlib/Makefile @ 865:f5affe83ba2d
lldbg hack (poor girl's substitute for JTAG) implemented
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Fri, 15 May 2015 00:02:03 +0000 |
parents | 39bacc7d5c49 |
children |
rev | line source |
---|---|
665
39bacc7d5c49
gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 CC= arm-elf-gcc |
39bacc7d5c49
gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 AR= arm-elf-ar |
39bacc7d5c49
gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 RANLIB= arm-elf-ranlib |
39bacc7d5c49
gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 |
39bacc7d5c49
gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb |
39bacc7d5c49
gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 CPPFLAGS=-I../include -I../include/condat -I../gpf/inc -I../cdginc |
39bacc7d5c49
gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 |
39bacc7d5c49
gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 OBJS= cl_des.o cl_imei.o cl_list.o cl_md5.o cl_ribu.o cl_rlcmac.o cl_shrd.o |
39bacc7d5c49
gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 |
39bacc7d5c49
gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 all: comlib.a |
39bacc7d5c49
gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 |
39bacc7d5c49
gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 comlib.a: ${OBJS} |
39bacc7d5c49
gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 ${AR} cru $@ ${OBJS} |
39bacc7d5c49
gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 ${RANLIB} $@ |
39bacc7d5c49
gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 |
39bacc7d5c49
gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 clean: |
39bacc7d5c49
gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 rm -f *.[oa] *errs |