FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/g23m-gsm/mm/Makefile @ 828:a8d0bbba7886
build flashable images by default when PS is included and target has small RAM
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 06 Apr 2015 02:32:04 +0000 |
parents | af82698f039e |
children |
rev | line source |
---|---|
717
470f87d36741
mm_csf.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
1 CC= arm-elf-gcc |
470f87d36741
mm_csf.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
2 LD= arm-elf-ld |
470f87d36741
mm_csf.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
3 |
470f87d36741
mm_csf.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
4 CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb |
470f87d36741
mm_csf.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
5 CPPFLAGS=-I. -I../../include -I../../include/condat -I../../gpf/inc \ |
470f87d36741
mm_csf.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
6 -I../../cdginc |
470f87d36741
mm_csf.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
7 |
724
9e777968b08f
mm_mms.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
723
diff
changeset
|
8 OBJS= mm_csf.o mm_em.o mm_forf.o mm_forp.o mm_fors.o mm_mmf.o mm_mmp.o \ |
729
acc31840d51c
mm_tim.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
728
diff
changeset
|
9 mm_mms.o mm_pei.o mm_regf.o mm_regp.o mm_regs.o mm_tim.o |
717
470f87d36741
mm_csf.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
10 |
730
af82698f039e
gsm-fw/g23m-gsm/mm/Makefile: link xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
729
diff
changeset
|
11 all: xipcode.o |
af82698f039e
gsm-fw/g23m-gsm/mm/Makefile: link xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
729
diff
changeset
|
12 |
af82698f039e
gsm-fw/g23m-gsm/mm/Makefile: link xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
729
diff
changeset
|
13 xipcode.o: ${OBJS} |
af82698f039e
gsm-fw/g23m-gsm/mm/Makefile: link xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
729
diff
changeset
|
14 ${LD} -r -o $@ ${OBJS} |
674
5ec79b82ab04
gsm-fw/g23m-gsm: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 |
5ec79b82ab04
gsm-fw/g23m-gsm: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 clean: |
5ec79b82ab04
gsm-fw/g23m-gsm: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 rm -f *.[oa] *.out *errs |