view target-utils/compalstage/Makefile @ 372:47391b5c15ff

os_mem_fl.c: os_MemoryInformation() done
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 01 Jun 2014 00:09:52 +0000
parents 48c08499cede
children 3164604a6c70
line wrap: on
line source

CC=	arm-elf-gcc
OBJCOPY=arm-elf-objcopy

all:	compalstage-plain.bin compalstage-thumb.bin compalstage-1003.bin

.SUFFIXES: .o .bin

.o.bin:
	${OBJCOPY} -O binary $< $@

compalstage-1003.o:	compalstage.S
	${CC} -DPAD_TO_1003 -c -o $@ $<

compalstage-plain.o:	compalstage.S
	${CC} -c -o $@ $<

compalstage-thumb.o:	compalstage.S
	${CC} -DTHUMB_ENTRY -c -o $@ $<

clean:
	rm -f *.o *errs *core *.bin

FRC: