79
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 CC= arm-elf-gcc
|
130
|
2 CFLAGS= -Os -fno-builtin -mthumb-interwork -mthumb
|
79
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 ASFLAGS=-mthumb-interwork
|
130
|
4 LD= arm-elf-ld
|
79
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5
|
312
|
6 OBJS= appinit.o exceptions.o irqfiq.o sysinit.o
|
79
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7
|
130
|
8 all: xipcode.o
|
|
9
|
|
10 xipcode.o: ${OBJS}
|
|
11 ${LD} -r -o $@ ${OBJS}
|
79
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12
|
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 clean:
|
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 rm -f *.[oa] *errs
|