FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/g23m-gsm/sim/Makefile @ 825:f8eaff87563f
gsm-fw: replaced strtok() from newlib with 4.3BSD-Tahoe version
newlib version uses malloc which is not allowed
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 06 Apr 2015 00:24:07 +0000 |
parents | fe3e16263bb2 |
children |
rev | line source |
---|---|
750
05c04e46a650
sim_app.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
1 CC= arm-elf-gcc |
05c04e46a650
sim_app.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
2 LD= arm-elf-ld |
05c04e46a650
sim_app.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
3 |
05c04e46a650
sim_app.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
4 CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb |
05c04e46a650
sim_app.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
5 CPPFLAGS=-I. -I../../include -I../../include/condat -I../../gpf/inc \ |
05c04e46a650
sim_app.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
6 -I../../cdginc |
05c04e46a650
sim_app.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
7 |
755
72de8fe8ef5f
sim_stk.o compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
753
diff
changeset
|
8 OBJS= sim_app.o sim_em.o sim_fkt.o sim_pei.o sim_stk.o |
750
05c04e46a650
sim_app.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
9 |
756
fe3e16263bb2
gsm-fw/g23m-gsm/sim/Makefile: link xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
755
diff
changeset
|
10 all: xipcode.o |
fe3e16263bb2
gsm-fw/g23m-gsm/sim/Makefile: link xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
755
diff
changeset
|
11 |
fe3e16263bb2
gsm-fw/g23m-gsm/sim/Makefile: link xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
755
diff
changeset
|
12 xipcode.o: ${OBJS} |
fe3e16263bb2
gsm-fw/g23m-gsm/sim/Makefile: link xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
755
diff
changeset
|
13 ${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
|
14 |
5ec79b82ab04
gsm-fw/g23m-gsm: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 clean: |
5ec79b82ab04
gsm-fw/g23m-gsm: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 rm -f *.[oa] *.out *errs |