comparison target-utils/compalstage/Makefile @ 314:48c08499cede

compalstage binaries built
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 02 Apr 2014 08:02:14 +0000
parents
children 3164604a6c70
comparison
equal deleted inserted replaced
313:9df7f9c72e17 314:48c08499cede
1 CC= arm-elf-gcc
2 OBJCOPY=arm-elf-objcopy
3
4 all: compalstage-plain.bin compalstage-thumb.bin compalstage-1003.bin
5
6 .SUFFIXES: .o .bin
7
8 .o.bin:
9 ${OBJCOPY} -O binary $< $@
10
11 compalstage-1003.o: compalstage.S
12 ${CC} -DPAD_TO_1003 -c -o $@ $<
13
14 compalstage-plain.o: compalstage.S
15 ${CC} -c -o $@ $<
16
17 compalstage-thumb.o: compalstage.S
18 ${CC} -DTHUMB_ENTRY -c -o $@ $<
19
20 clean:
21 rm -f *.o *errs *core *.bin
22
23 FRC: